$Status: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (link repair) |
||
Line 23: | Line 23: | ||
<tr> | <tr> | ||
<td>$RdProc</td> | |||
<td>[[$RdProc]]</td> | <td>[[$RdProc]]</td> | ||
</tr> | </tr> | ||
</table> | </table> |
Revision as of 19:48, 2 February 2016
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 Communication facilities |
$RdProc | $RdProc |
For a 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 . . .