FDREPORT SET Statement
SET statement
The SET statement permits the user to set the current return code to any value from 0 to 4095 either unconditionally or after checking the current return code value.
SET statement syntax
SET | IFRETURNCODE=nnnn |
---|---|
,RETURNCODE=nnnn | |
IFRETURNCODE=
nnnn
Specifies the value to be used to check the current value in the return code. The number can be any value from 0 to 4095.
Default: The current value of the return code is not checked.
RETURNCODE=
nnnn
Specifies the return code to be issued by FDREPORT if termination occurs. This value changes any existing return code, regardless of how or why it was set, to the value specified, unless IFRETURNCODE= is also specified. The number can be any value from 0 to 4095.
Default: The last return code to be set by any of FDREPORT’s process or service routines.