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

DD without DSN name in IEFBR14 Job


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Sat Apr 07, 2007 12:10 pm
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
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: 691
Location: Earth

PostPosted: Mon Apr 09, 2007 4:31 pm
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

Moderator Emeritus


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

PostPosted: Tue Apr 10, 2007 12:57 am
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Apr 10, 2007 1:24 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Apr 10, 2007 2:53 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts TWS - ETT File triggering does not wo... IBM Tools 4
No new posts Query on IEFBR14 with GDG JCL & VSAM 4
No new posts IEFBR14 to delete tape without tape m... JCL & VSAM 4
No new posts parm values in IEFBR14 JCL & VSAM 15
No new posts How to make one step in JCL to Null s... JCL & VSAM 19
Search our Forums:

Back to Top