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

ADRDSSU Utility


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raghavendra_p_sarvade

New User


Joined: 17 Oct 2006
Posts: 32

PostPosted: Tue Sep 15, 2009 8:57 pm
Reply with quote

Hi,

I am trying to run the below step but getting an S013 with RC as 20. Can someone help?

//STEPNAME EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSDUMP DD SYSOUT=*
//BKUPDS DD DSN=FILE1(+1),
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(10,10),RLSE),
// UNIT=TAPE,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=800)
//SYSIN DD *
DUMP -
DATASET( -
INCLUDE( -
MDMX017.BS000.A180.MOVSCIG7.* -
MDMX017.BS000.A007.CLIENTE1.* -
MDMX017.BS000.A053.WORK1035.* -
))
OUTDDNAME(BKUPDS)
/*
//*

Thanks.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Sep 15, 2009 9:12 pm
Reply with quote

Here, let me do what you should have done and look up the error message. As you couldn't be asked to post any useful information, this is all the help you get.

P.S. Have you ever heard of google ???

Quote:
Explanation: The error occurred during processing of an OPEN macro instruction. This system completion code is accompanied by message IEC141I. Refer to the explanation of message IEC141I for complete information about the task that was ended and for an explanation of the return code in register 15 (which is provided in the IEC141I message text).

Application Programmer Response: Respond as indicated for message IEC141I.

System Programmer Response: If the error recurs and the program is not in error, look at the messages in the job log for more information. Search problem reporting data bases for a fix for the problem. If no fix exists, contact the IBM Support Center. Provide the JCL and the program listing for the job.

Source: DFSMSdfp
Back to top
View user's profile Send private message
raghavendra_p_sarvade

New User


Joined: 17 Oct 2006
Posts: 32

PostPosted: Tue Sep 15, 2009 9:20 pm
Reply with quote

I did check for the S013 and RC20 and got this.

S013 - 20 - AN OPEN MACRO WAS ISSUED FOR A SEQUENTIAL DATASET USING THE QUEUED ACCESS TECHNIQUE WITH RECFM=FB, BUT BLKSIZE IS NOT A MULTIPLE OF LRECL, OR FOR VARIABLE-LENGTH RECORDS, BLKSIZE IS NOT 4 BYTES GREATER THAN THE LRECL.

But I had the BLOCKSIZE as multiple of LRECL.

Thanks
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Sep 15, 2009 9:22 pm
Reply with quote

Mmmmmmmmmmmm, you have obviously seen many examples of DFdss (ADRDSSU).

RECFM=VB,LRECL=27994 usually works good for DASD output.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Sep 15, 2009 10:14 pm
Reply with quote

Hello,

Code:
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=800)
Why was this used? How was this determined. . .? Things should not just be "stuck into" a batch job - there should be an understanding of every statement in the run. . .

Even if the data was 80 bytes, 800 is a rather horrible blocking factor. . .
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Sep 15, 2009 10:33 pm
Reply with quote

Recommendation: for ADRDSSU, do not specify DCB characteristics. None of my DF/DSS backup or restore jobs have DCB in the JCL since ADRDSSU is quite good at setting DCB values to what it needs.
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 REASON 00D70014 in load utility DB2 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts How do I SFTP a ADRDSSU file from mai... IBM Tools 4
No new posts Any JCL or VSAM Utility to get number... JCL & VSAM 1
No new posts DATA SET LIST UTILITY screen TSO/ISPF 6
Search our Forums:

Back to Top