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
 

 

DD without DSN name in IEFBR14 Job

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

New User


Joined: 06 Oct 2005
Posts: 31

PostPosted: Sat Apr 07, 2007 11:12 am    Post subject: DD without DSN name in IEFBR14 Job
Reply with quote

Hi,

I have a step running IEFBR14 like below,

//UPDS1 EXEC PGM=IEFBR14
//BKPVSN DD DISP=(,PASS,DELETE),
// UNIT=(CO3490,,DEFER),VOL=(,RETAIN,,1),
// DCB=BLKSIZE=32640,
// LABEL=(1,SL,,,RETPD=30)
//*

I 'm not sure the purpose of this step. I'm referring this in VOL parameter in other steps like this VOL=(,RETAIN,,REF=*.UPDS1.BKPVSN),
Can anyone explain this step usage??
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sat Apr 07, 2007 12:10 pm    Post subject:
Reply with quote

Some tape management software products operate on the principal that the first dataset on a multi label tape acts as a control dataset. When that dataset expires, the tape may be scratched.
Back to top
View user's profile Send private message
Shobana Bhaskar

New User


Joined: 02 Mar 2007
Posts: 35
Location: Pennsylvania, US

PostPosted: Mon Apr 09, 2007 11:58 am    Post subject:
Reply with quote

Hi padma,

The UPDS1 step defines the property of a dataset.
VOL - This refers to the volume on which the dataset resides.

VOL=(,RETAIN,,REF=*.UPDS1.BKPVSN) - This refers to the DD BKPVSN in step UPDS1 so that the VOL mentioned in that DD would be used for this dataset.
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Mon Apr 09, 2007 4:31 pm    Post subject:
Reply with quote

I am still not clear what will be the o/p if this JOB is executed as is? icon_confused.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Tue Apr 10, 2007 12:57 am    Post subject:
Reply with quote

Hello,

There won't be any o/p. This jcl is to allocate a unit for later processing (in subsequent steps).
Back to top
View user's profile Send private message
reddy260

New User


Joined: 28 Feb 2007
Posts: 2
Location: india

PostPosted: Tue Apr 10, 2007 1:20 pm    Post subject: not clear
Reply with quote

pls drop some more details regarding this. waiting for detailed explanation

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

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Apr 10, 2007 1:24 pm    Post subject:
Reply with quote

Quote:
pls drop some more details regarding this. waiting for detailed explanation

Please specify exactly what details you are waiting for ?
Back to top
View user's profile Send private message
reddy260

New User


Joined: 28 Feb 2007
Posts: 2
Location: india

PostPosted: Tue Apr 10, 2007 2:42 pm    Post subject:
Reply with quote

//BKPVSN DD DISP=(,PASS,DELETE),

in this some one is telling it is referring to new data set..

How it comes
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Apr 10, 2007 2:53 pm    Post subject:
Reply with quote

Because, if you read the JCL manual, it will tell you that if you omit the first parameter of the DISP field, the default will be NEW.

It is not referring to a new dataset, it is creating a new dataset. With the use of the JCL shown by the OP, subsequent datasets are written to the same tape using the referback of *.stepname.ddname

As i said above, this is used to create a dummy dataset which is used by the tape management software to control the expiry of a tape. The fact that it uses a system generated dataset is neither here nor there, the RETPD=30 will keep that tape for 30 days, unless the TMS rules are set up differently.

Of course TMM would be a far better method than using multi label tapes.
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 IEFBR14 to delete tape without tape m... Lynne Schuler JCL & VSAM 4 Thu Jan 29, 2015 8:51 am
No new posts parm values in IEFBR14 bvarun. JCL & VSAM 15 Mon Aug 26, 2013 10:29 am
No new posts How to make one step in JCL to Null s... kratos86 JCL & VSAM 19 Thu Apr 21, 2011 12:37 pm
No new posts difference between IDCAMS & IEFBR14 omprakash.mf JCL & VSAM 3 Thu Mar 10, 2011 12:46 am
This topic is locked: you cannot edit posts or make replies. Is IEFBR14 is a load that is created ... sureshmurali JCL & VSAM 1 Fri Dec 31, 2010 10:29 am


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