File access — EZTRIEVE programming language supplement


Application programs which are to have their sequential files repositioned by QUICKSTART during a restart must allow QUICKSTART to control all functions of those files. It is by this activity that QUICKSTART can accurately track the status of the file during normal program execution, and can forward the appropriate information to the restart mechanism for file repositioning, should there be a need for a restart at some later time.

Not all files are necessarily “Repositionable” - only those files which are considered Repositionable by the programmer need be converted, as described herein. Other files can continue to be controlled by standard EZTRIEVE functions, if desired. For example, if the application program retrieves run-time parameters from a sequential file, such a sequential file does not necessarily need to be controlled by QUICKSTART, given that such parameters are retrieved in their entirety and at the beginning of the program. Such sequential files are allowed to be accessed with standard EZTRIEVE functions.

To ensure restartability, the application program must CALL the QUICKSTART API QUICKSAM.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*