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
 

 

Reg: DISP=PASS

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

New User


Joined: 26 Mar 2005
Posts: 17

PostPosted: Wed Jun 14, 2006 8:12 pm    Post subject: Reg: DISP=PASS
Reply with quote

Hello,

As I understand, DISP=PASS, makes the dataset available as such for subsequent steps in JCL. Why should'nt one just explicitly code the dataset again on the DD of any subsequent JCL step...?

(1) Is there any specific advantage in coding DISP=PASS over a dataset..?

(2) DISP=PASS is sometimes used with temp datasets. Does it imply that PASSed datasets exist only throughout the "life" of jcl..?

(3) Should DISP=PASS be used with only temp datasets..?

Thanks for your help on this one..!
Back to top
View user's profile Send private message

cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Wed Jun 14, 2006 9:11 pm    Post subject: Re: Reg: DISP=PASS
Reply with quote

Use PASS only when you are creating temporary datasets. When creating permanent datasets, you should use CATLG rather than PASS, or your permanent dataset may be deleted. PASS'ed temporary datasets are deleted at "end of job", however, may be deleted earlier in the job if you read the temporary dataset back in a job step with DISP=(OLD,DELETE). If you have to READ a tape dataset into several job steps, you would want to use a VOL=(,RETAIN) parameter to prevent the tape from having to be re-mounted multiple times within the same job.
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 JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts Is it possible to pass variables of s... Csongor CLIST & REXX 2 Fri Jun 10, 2016 7:33 pm
No new posts how to pass data from a rexx program ... Akshay Yadav TSO/ISPF 8 Mon Feb 15, 2016 12:05 pm
No new posts How to pass a structure to external p... Pedro PL/I & Assembler 8 Tue Jan 19, 2016 7:05 am


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