CANCEL command is used to end an edit session without saving latest changes.
Terminate an edit session
Undo the changes since the beginning of last save
ISREDIT CANCEL |
The following is an example of the CANCEL macro command:
ISREDIT CANCEL |
This will cause the current edit session to be cancelled.
Possible return codes are:
0: The command or statement ended successfully.
20: A critical error has occurred.
If you have any doubts or queries related to this chapter, get them clarified from our Mainframe experts on ibmmainframer Community!