$Status: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
No edit summary |
||
Line 37: | Line 37: | ||
END IF | END IF | ||
. | . | ||
. | |||
. | . | ||
</p> | </p> | ||
[[Category:SOUL $functions]] | [[Category:SOUL $functions]] |
Revision as of 19:33, 13 August 2013
The $STATUS function returns a numeric value that indicates the success or failure of the last executed OPEN/OPENC statement, external I/O statement or program communication statement.
For a discussion of... | See |
---|---|
Error handling with the OPEN and OPENC statements | Error handling |
External I/O statements | Reading external files or terminal input |
Communication statements | Program Communications Facilities |
$RDPROC | $RDPROC |
- List of $STATUS return values, refer to Error handling for TPROCESS statements. The $STATUS function takes no arguments.
Example
. . . READ IMAGE ACCT.RECV.REC IF $STATUS = 0 THEN CALL PROCESS.AR ELSE LOOPEND END IF . . .