Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

EXIT-PROCEDURE Terminate procedure

EXIT-PROCEDURE terminates the current procedure and returns job control to the calling level.

The specification ERROR=*YES initiates error handling if SUBCODE1 is not zero.

EXIT-PROCEDURE

ERROR = *NO (...) / *YES(...)


*NO(...)




SUBCODE2 = 0 / < integer 0..255>




,MAINCODE = CMD0001 / <alphanum-name 7..7>


*YES(...)




SUBCODE1 = 64 / <integer 0..255>




,SUBCODE2 = 0 / <integer 0..255>




,MAINCODE = SDP0018 / <alphanum-name 7..7>

,RESUME-PROGRAM = *NO / *YES

Return codes

If execution of the EXIT-PROCEDURE command itself results in an error, control is not returned to the caller; instead, one of the following return codes is passed:

(SC2)

SC1

Maincode

Meaning


0CMD0001No error

1CMD0202Syntax error

3CMD2203Incorrect syntax file

32CMD0221System error (internal error)

130SDP0099No further address space available