Previous Topic: SUSPENDNext Topic: SWITCH


SWAP

The SWAP command restores the screen and the work file to their condition prior to the last execution of the OCF or compiler. SWAP is a convenient means of editing OCF or compiler input. For example, if you receive error messages for your input, you can use SWAP to redisplay the original input. You can correct the input and then re-execute or recompile it.

Swapping screens does not revoke the results of the previous execution or compilation. Any definitions that were successfully added to the data dictionary before you used the SWAP command remain in the dictionary after you use the command.

The SWAP command is available with the OCF and all online compilers except the IDD Menu Facility.

Syntax

►►─── SWAp ───────────────────────────────────────────────────────────────────►◄