IBM Support

Media Server abends with an S522 abend code

Question & Answer


Question

How can I prevent the Tivoli Storage Manager for z/OS Media (Media server) from timing out and causing an abend code S522?

Cause

522

Explanation:
All of the tasks in a job step were in an SVC wait state for the time specified in the JWT parameter in the SMFPRMxx parmlib member.

The event control block (ECB) specified in the wait request was never posted. This could be the result of waiting on the wrong ECB or not posting the correct ECB.

System programmer response:
Correct any errors and execute the job step again. If no errors are found and the wait is expected for that particular job step, specify TIME=NOLIMIT in the EXEC statement to bypass all job step timing.

Source:
System Management Facilities (SMF)

Answer

To prevent the Tivoli Storage Manager for z/OS Media (Media server) from timing out with an abend S522, you will need to add TIME=NOLIMIT or TIME=1440 to the EXEC statement used for starting the Media Server. For example, below is the JCL found in the publications with the recommended TIME parameter:



    //SERVER  EXEC PGM=ANZSRVR,REGION=0M,TIME=1440
    //STEPLIB  DD DSN=IBM.HANZ630.LOAD,DISP=SHR    
    //*SYSPRINT  DD SYSOUT=*                      
    //SYSTERM   DD SYSOUT=*                        
    //TSMMSGS   DD SYSOUT=*                        
    //TSMTRACE  DD SYSOUT=*                        
    //CEEDUMP   DD SYSOUT=*                        
    //TSMOPTS   DD DSN=IBM.HANZ630.OPTIONS,DISP=SHR

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Not Applicable","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Product Synonym

TSM ADSM

Document Information

Modified date:
17 June 2018

UID

swg21681870