Previous Topic: Variables

Next Topic: Notes

Return Codes

&RETCODE = 0

Indicates successful completion, continue processing. The system variable &$RWFMTSEQ may be set to a list of data format numbers that are to be printed, in the order they are to be printed, separated by commas. To process but not print the record (that is, to perform totalling) set this variable to null.

&RETCODE = 2

Indicates that the item is not to be printed. When &$RWITEM is set to DF also, do not process the record, get the next record.

&RETCODE = 8

Indicates that an error occurred, terminate processing. &SYSMSG may be set to an error message.