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

Reg: DISP=PASS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Dynamically pass table name to a sele... DB2 2
No new posts pass data as symbolic parameter from ... CLIST & REXX 2
No new posts EIBCALEN 0 even if we pass LEN and FR... CICS 4
No new posts How to pass arguments in a ISPSTART c... CLIST & REXX 6
Search our Forums:

Back to Top