9.59 END_FILE_EDIT
Ends an "edit session" on the definition of a nominated LANSA file definition previously started by the START_FILE_EDIT Built-In Function.
The edit session may have been used to define a new file or alter an existing one.
The file definition is released by this Built-In Function so that it can be accessed by other users.
A number of checks that relate to prior actions via the LOGICAL_KEY and ACCESS_RTE_KEY Built-In Functions are performed via this function. These may result in the abandonment of the edit session, and an "ER" return code being returned.
Additionally, warning messages may be issued by this Built-In Function. In this case the return code will still be returned as "OK".
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 | Commit edited details flag Y = commit details N = drop edited details | 1 | 1 |
Return Values
No | Type | Req/ Opt | Description | Min Len | Max Len | Min Dec | Max Dec |
|---|---|---|---|---|---|---|---|
1 | A | Req | Return code OK = edit session ended 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 |