9 92 FILE_FIELD_VIRTUAL

LANSA Technical

9.92 FILE_FIELD_VIRTUAL

Þ Note: Built-In Function Rules.

Specifies or re-specifies a virtual field that is part of the definition of the file being edited.

An edit session must be commenced by using the START_FILE_EDIT Built-In Function prior to using this Built-In Function.

Þ This is a Specialized Built-In Function for use in a Development Environment only.

For use with

LANSA for i

YES

Do not use on IBM i in an RDMLX partition.

Visual LANSA for Windows

YES

 

Visual LANSA for Linux

NO

 

 

 

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Name of the virtual field. Must be defined in the LANSA data dictionary.

1

10

 

 

2

N

Opt

Optional sequencing number. Used to order fields within the file record format. If not specified fields are sequenced in the same order as they are presented.

1

5

0

0

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Return code

OK = field added to file

ER = fatal error detected

In case of "ER" return code error message(s) are issued automatically and the edit session ended without commitment

2

2