Use this procedure when some part of the program repeats endlessly.
If a message repeats endlessly, use the MSGADRnnnt keyword.
Example: 5695DF175 RA10 LOOP function
Procedure: To determine the keywords for
type-of-failure and function, follow these instructions:
- Use LOOP as the type-of-failure keyword if a DFSMSdss task was
in a loop.
- Obtain an abend dump of the LOOP state. Ensure that the JCL has
a SYSABEND, SYSMDUMP, or SYSUDUMP DD statement.
_______________________________________________________________
- Follow these steps to find the function keyword:
- Record the relative task identifier. Message ADR006I
is printed when a DFSMSdss task begins. The number in parentheses
(ttt) immediately following the message identifier is the
relative task identifier. For example:
ADR006I (ttt)-mmmmm(yy), date_and_time EXECUTION BEGINS
- Locate the tasks that are active (message ADR006I without a matching
ADR013I). Message ADR013I is printed when a function ends. For example:
ADR013I (ttt)-mmmmm(yy), date_and_time TASK COMPLETED
- Use CNTRL as the function keyword if no tasks are active; see Module keyword.
- Analyze the program further to determine which task has failed
if more than one function is active. You can best accomplish this
by examining each function task in the dump.
- Check prior messages for an ADR101I message with a task identifier
that matches the one that you found in step 3.a.
For example:
ADR101I (ttt)-mmmmm(yy), TASKID xxx HAS BEEN ASSIGNED TO COMMAND 'command'
The
command that is identified in this message is the function that is
executing at the time the loop began. This function name is the function
keyword.
_______________________________________________________________
You have finished when you have identified the function keyword
for the LOOP type-of-failure. To identify the maintenance level of
the module that failed, refer to Module keyword.
Guideline: For the DFSMSdss stand-alone restore
program, the module keyword is always ADRDMPRS. If you select this
keyword, see Maintenance-level keyword.