9.71 FILE_FIELD_VIRTUAL
Note: Built-In Function Rules Usage Options
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.
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
|
|
|
|