Task names can be listed
with the SYSTASK LIST statement. These task names are assigned on
other hosts and are supplied to the
z/OS SAS session via RSUBMIT commands
or statements in
SAS/CONNECT software.
The SYSRC macro variable
contains the return code for the WAITFOR statement. If a WAITFOR statement
cannot execute successfully, then the SYSRC macro variable is set
to a nonzero value. For example, the WAITFOR statement might contain
syntax errors. If the number of seconds specified with the TIMEOUT
option elapses, then the WAITFOR statement finishes executing and
the SYSRC macro variable is set to a nonzero value if any of the following
occur:
-
You specify a single task that
does not finish executing.
-
You specify more than one task
and the _ANY_ option (which is the default setting), but none of the
tasks finish executing.
-
You specify more than one task
and the _ALL_ option, and any one of the tasks does not finish executing.