Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ADR412E Error while using ADRDSSU

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Thu Jul 21, 2011 4:59 pm    Post subject: ADR412E Error while using ADRDSSU
Reply with quote

Hi All,
I am getting below failure on backup job...

Below are the details..
JCLSTEP
Code:

//STEP0020 EXEC PGM=ADRDSSU,REGION=2048K,COND=(4,LT)             
//COPY     DD DSN=&HLQ..COPY&LOCAT&GEN,                           
//            DISP=(,CATLG),                                     
//            UNIT=CART,VOL=(,RETAIN,,,REF=*.STEP0010.SYSEX212), 
//            LABEL=(84,SL,EXPDT=99000),                         
//            RECFM=VB,LRECL=32756,BLKSIZE=32760,                 
//            DCB=SYS3.GDG.MODEL                                 
//SYSIN    DD *               
  DUMP OUTDD(COPY)                          -     
       DS(INCL(HLQ.DATA,              -     
               HLQ.DB2PARMS,                -     
               HLQ.PROD.CMDLIB,             -     
               HLQ.PROD.CNTL,               -     
               HLQ.SCHEMA.DATA))                   
/*

SYSPRINT
Code:

ADR101I (R/I)-RI01 (01), TASKID 001 HAS BEEN ASSIGNED TO COMMAND 'DUMP '       
ADR109I (R/I)-RI01 (01), 2011.199 21:41:58 INITIAL SCAN OF USER CONTROL STATEMENTS COMPLETED
ADR016I (001)-PRIME(01), RACF LOGGING OPTION IN EFFECT FOR THIS TASK           
ADR006I (001)-STEND(01), 2011.199 21:41:58 EXECUTION BEGINS                     
ADR412E (001)-DTDSC(03), DATA SET HLQ.DATA IN CATALOG CATALOG.PRD.ICFCAT ON VOLUME P3GE9B FAILED SERIALIZATION
ADR412E (001)-DTDSC(03), DATA SET HLQ.PROD.CMDLIB IN CATALOG CATALOG.PRD.ICFCAT ON VOLUME P3GEA2 FAILED SERIALIZATION
ADR801I (001)-DTDSC(01), DATA SET FILTERING IS COMPLETE. 3 OF 5 DATA SETS WERE SELECTED: 2 FAILED SERIALIZATION AND 0 FAILED FOR
                         OTHER REASONS                                         
ADR454I (001)-DTDSC(01), THE FOLLOWING DATA SETS WERE SUCCESSFULLY PROCESSED   
                          HLQ.DB2PARMS                                         
                          HLQ.PROD.CNTL                                         
                          HLQ.SCHEMA.DATA                                       
ADR006I (001)-STEND(02), 2011.199 21:42:19 EXECUTION ENDS                       
ADR013I (001)-CLTSK(01), 2011.199 21:42:19 TASK COMPLETED WITH RETURN CODE 0008
ADR012I (SCH)-DSSU (01), 2011.199 21:42:20 DFSMSDSS PROCESSING COMPLETE. HIGHEST RETURN CODE IS 0008 FROM:
                         TASK    001                                           


When I looked at ADR412E it says..
Code:

ADR412E (xxx)-mmmmm(yy), DATA SET {dsname | clustername COMPONENT
componentname} [IN CATALOG catname] ON VOLUME volser FAILED
SERIALIZATION

Explanation: An ENQ(EXCLUSIVE), ENQ(SHARE), or dynamic allocation with DISP=OLD or SHR failed after a specified (or defaulted) number of retries. TOL(ENQF) was not specified by the user.

System Action: The data set is not processed. The return code is 8.

Programmer Response: Rerun the job when the data set is not in use by other users. You can increase the WAIT parameters, and if you are not using the COMPRESS command to compress a PDS, you can specify TOL(ENQF).

But I couldnt see, Which user has locked it or was using it.

Any way to find out what user\process holding these datasets?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8054
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jul 21, 2011 5:13 pm    Post subject:
Reply with quote

Quote:
Any way to find out what user\process holding these datasets?
Generally, this needs to be done while the job is running or the results may -- or may not -- reflect the actual state of the system that caused the ADR412E message.

Why not just add TOL(ENQF) to your DUMP command?
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Thu Jul 21, 2011 7:33 pm    Post subject:
Reply with quote

I just got response back from my mainframe admin team.

They suggest same as Robert has suggested. Also says.. They don't have anything handy which give trace to who was using it.

One Way they say is to monitor job runtime. .and check who is using dataset when ADRDSSU does retries... (Not very realistic though)
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8054
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jul 21, 2011 7:47 pm    Post subject:
Reply with quote

LOL I feel relieved that I'm in sync with your support group!

IF you have access to console commands, you can issue D GRS,C while the job is running to look for contention -- but if you don't have access to the console commands, this won't help.

Your other option would be to add a DD statement for that specific file with DISP=OLD to prevent it from being used while your job is running. With only three data sets, the overhead would not be onerous -- but if you were backing up 150 data sets, this method would not be practical and TOL(ENQF) becomes your only option.
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Thu Jul 21, 2011 8:15 pm    Post subject:
Reply with quote

Quote:
LOL I feel relieved that I'm in sync with your support group!

Yes .. You were Bang on.... icon_smile.gif..

Its taken care now with TOL(ENQF)
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us