File Related Built In Functions

LANSA Technical

File Related Built-In Functions

Built-In Function

Description

ACCESS_FILE

Read records from any file in the system.

ACCESS_RTE

Specifies/re-specifies the attributes of an "access route".

ACCESS_RTE_KEY

Specifies/re-specifies the name of a field or value that is to be used to access data via an access route.

COMPARE_FILE_DEF

Compares two CTD files and indicates if a difference is found.

DLT_FILE

Submits a batch job to delete a file and its associated logical files and I/O module.

END_FILE_EDIT

Ends an "edit session" on the definition of a nominated LANSA file.

FILE_FIELD

Specifies/re-specifies a field in format of the file being edited.

FILE_FIELD VIRTUAL

Specifies/re-specifies a virtual field of the file definition being edited.

GET_FILE_INFO

Retrieves a list of file related information from the LANSA internal database.

GET_LOGICAL_LIST

Retrieves a list of physical files, associated logical views and descriptions.

GET_PHYSICAL_LIST

Retrieves a list of physical files and descriptions.

LOAD_FILE_DATA

Calls the OAM for the requested file and loads the data.

LOAD_OTHER_FILE

Loads the definition of an "OTHER" file.

LOGICAL_KEY

Specifies/re-specifies the name of a field that is a key of a logical view/file.

LOGICAL_VIEW

Specifies/re-specifies the name and basic attributes of a logical view/file

MAKE_FILE_OPERATIONL

Submits a batch job to create/recreate a file plus associated logical files and I/O module.

PHYSICAL_KEY

Specifies/re-specifies the key of the physical file associated with the file being edited.

PUT_FILE_ML

Puts/updates a list of file multilingual attributes in different languages.

REBUILD_FILE

Optionally drops the existing file and its views, and creates the new file from the CTD file .

REBUILD_TABLE_INDEX

Rebuild IBM i High Speed Index

RESET_@@UPID

Reset the @@UPID field to zero in any file.

SET_FILE_ATTRIBUTE

Sets a file's database attributes.

START_FILE_EDIT

Starts an "edit session" on the definition of a nominated LANSA file definition.

STM_FILE_CLOSE

Closes the stream file which was opened by a STM_FILE_OPEN

STM_FILE_OPEN

Opens a stream file.

STM_FILE_READ

Reads data from the specified stream file that was opened by STM_FILE_OPEN.

STM_FILE_WRITE

Writes data to the specified stream file that was opened by STM_FILE_OPEN.

STM_FILE_WRITE_CTL

Writes Line terminator character/s to the data stream.

UNLOAD_FILE_DATA

Calls the OAM for a file and unloads all its data to a flat file.