Previous Topic: Variables

Next Topic: Generator Logic Flow


Return Codes

&RETCODE = 0

Indicates successful completion, continue processing. When &$RWOPT is set to GETSF the following variable must be set: &$RWSFVALn must be set to the value of the sort fields for the next record that will be retrieved for processing. Where n is the sort field number.

&RETCODE = 4

Indicates the end of data if &$RWOPT is set to INIT or GET.

&RETCODE = 8

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