9.91 FILE_FIELD
Þ Note: Built-In Function Rules.
FILE_FIELD specifies or re-specifies a field that is part of the record format of the file definition 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
|
|
|
Warning: The FILE_FIELD Built-In Function cannot be used for a file of type "OTHER".
Arguments
No
|
Type
|
Req/ Opt
|
Description
|
Min Len
|
Max Len
|
Min Dec
|
Max Dec
|
1
|
A
|
Req
|
Name of real 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
|
|
|
|