9 80 END_FILE_EDIT

LANSA Technical

9.80 END_FILE_EDIT

Þ Note: Built-In Function Rules.

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.

For use with

LANSA for i

YES

Do not use on IBM i in an RDMLX partition.

Visual LANSA for Windows

YES

The access route key field validation performed by this Built-In Function is not as rigorous as that performed byLANSA for i.

Visual LANSA for Linux

NO

 

 

 

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