IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ADR412E Error while using ADRDSSU


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Jul 21, 2011 5:13 pm
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Jul 21, 2011 7:47 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top