Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

RESTORE Restore objects of syntax file

&pagelevel(4)&pagelevel

The RESTORE statement is used to lift the lock on objects in the open syntax file. The lock was set with the aid of the REMOVE statement; it can be lifted for commands, statements and programs. Their definitions must be included in the syntax file to be edited or in a syntax file which is higher up in the file hierarchy. Physically deleted objects cannot be restored. The RESTORE statement cannot be used if the syntax file being processed is the system syntax file.

RESTORE

OBJECT = *COMMAND(...) / *PROGRAM(...) / *STATEMENT(...)

*COMMAND(...)

NAME = *ALL / list-poss(2000): <structured-name 1..30>

*PROGRAM(...)

NAME = *ALL / list-poss(2000): <structured-name 1..30>

*STATEMENT(...)

NAME = *ALL / list-poss(2000): <structured-name 1..30>
,PROGRAM = <structured-name 1..30>

OBJECT =
Type of object for which the lock is to be lifted.

OBJECT = *COMMAND(...)
Specifies that the lock is to be lifted for commands.

NAME = *ALL / list-poss(2000): <structured-name 1..30>
The lock is lifted for all commands or for those specified by name.

OBJECT = *STATEMENT(...)
Specifies that the lock is to be lifted for statements.

NAME = *ALL / list-poss(2000): <structured-name 1..30>
The lock is lifted for all statements or for those specified by name.

PROGRAM = <structured-name 1..30>
Name of the program to which the statements belong.

OBJECT = *PROGRAM(...)
Specifies that the lock is to be lifted for programs. In this case, the lock is not lifted for the program itself, but for all statements belonging to the program.

NAME = *ALL / list-poss(2000): <structured-name 1..30>
The lock is lifted for all programs or for those specified by name.