Output parameters for the function routine are SSOBRETN and SSS2.
SSOBRETN Contents: When control returns
to your
application
thread and register 15 contains a zero, the SSOBRETN field
contains one of the following decimal values:
- Value (Decimal)
- Meaning
- SSS2RTOK (0)
- Successful completion; for SAPI PUT/GET calls, a data set was
returned whose name is in SSS2DSN
- SSS2EODS (4)
- No more data sets to select
See the reason codes defined
for SSS2REAS at Reason Codes for SSOBRETN being SSS2EODS.
- SSS2INVA (8)
- Invalid search arguments
- SSS2UNAV (12)
- Unable to process now
- SSS2DUPJ (16)
- Duplicate jobnames. (This reason code can occur only if SSS2SDUP
is on.) The duplicate job may or may not have characteristics matching
the SSS2 filter set.
- SSS2IDST (20)
- Invalid destination specified
- SSS2TKNM (28)
- Token map failed.
Application will not be allowed to allocate
to data set and DISP=(,KEEP) will be forced
- SSS2LERR (32)
- Logic error
See the reason codes defined for SSS2REAS at Reason Codes for SSOBRETN being SSS2LERR.
- SSS2ICLS (36)
- SSS2CLAS not A-Z and not 0-9
- SSS2BDIS (40)
- Disposition settings incorrect
See the reason codes defined
for SSS2REAS at Reason Codes for SSOBRETN being SSS2BDIS.
- SSS2CLON (44)
- Disposition for data set group not uniform (See SSS2DSH).
DISP=(,KEEP)
is forced with no override disposition information honored
SSS2 Contents: The SSS2 control block
contains the following information about the data set returned from
your application's request: