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
The following is an example of the CANCEL macro command:
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!