The EXTRACT command has these return codes:
- 0
- Operation successful
- 1
- Missing keyword
- 2
- Keyword truncated
- 3
- Keyword unknown
- 4
- Error attempting to set a REXX variable
Out of memory or EXECCOMM error
- 5
- Arguments are invalid
- 6
- Unable to honor EXTRACT command at this time
This return code will occur if, for example, you attempt to
EXTRACT BREAK within your PROFILE before the target program
has been loaded into memory.
- 7
- The command cannot run in this environment
This may be because this command is supported for a specified OS
only (CMS, or TSO), or that you must be in an ESA environment.