CL Command Reference - OVRSAVF
CL Command List > OVRSAVF Reference
Description:
The Override with Save File (OVRSAVF) command is used (1) to override or replace a file named in a program, (2) to override certain attributes of a file that are used by a program, or (3) to override the file named in a program and certain attributes of the overriding file.
This command does not apply to save and restore commands.
Note: Using this command does not cause a file to be overridden immediately. Information provided on this command is stored until the file is used, at which time the file is overridden.
Examples:
OVRSAVF FILE(ONLINE) POSITION(*RRN 100) SECURE(*YES)
This command overrides the file named ONLINE so that the first record gotten after the file is opened for input is relative record number 100. The file is also safe from overrides (in previous program calls).