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

disp for temp dataset


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

New User


Joined: 06 Dec 2007
Posts: 11
Location: Bangalore

PostPosted: Tue Dec 11, 2007 4:27 pm
Reply with quote

hi guys,
i have created a temporary dataset in a jcl using disp=new,pass
what will be the disp for that dataset in subsequent steps?

thanks regards,
manju
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Dec 11, 2007 4:29 pm
Reply with quote

Think about it for a minute.

You know it won't be NEW,PASS, obviously. What do you think then it would be? There's not many options.
Back to top
View user's profile Send private message
manjunath_mf

New User


Joined: 06 Dec 2007
Posts: 11
Location: Bangalore

PostPosted: Tue Dec 11, 2007 4:48 pm
Reply with quote

superk wrote:
Think about it for a minute.

You know it won't be NEW,PASS, obviously. What do you think then it would be? There's not many options.


hi kevin,
sorry, i didn't get ur answer. ok let it be.
the thing is i am using a dataset in a jcl to carry the output of one step to another. i dont want to catlog it, as i dont want that beyond that jcl. 'new' means create the DS if it is successful 'pass' it to the next step. pls clarify me in all.

thanks regards,
manju
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Tue Dec 11, 2007 4:57 pm
Reply with quote

Hi Manjunath,

Kevin didn't answer for ur question but gave hint and asked u to think for the answer.

In subsequent steps mention OLD or SHR depending on ur requirement.

KSK
Back to top
View user's profile Send private message
manjunath_mf

New User


Joined: 06 Dec 2007
Posts: 11
Location: Bangalore

PostPosted: Tue Dec 11, 2007 5:01 pm
Reply with quote

manjunath_mf wrote:
superk wrote:
Think about it for a minute.

You know it won't be NEW,PASS, obviously. What do you think then it would be? There's not many options.


hi kevin,
sorry, i didn't get ur answer. ok let it be.
the thing is i am using a dataset in a jcl to carry the output of one step to another. i dont want to catlog it, as i dont want that beyond that jcl. 'new' means create the DS if it is successful 'pass' it to the next step. pls clarify me in all.

thanks regards,
manju


i think its disp=old,pass for every steps and in last step it is old,delete
correct me if i am wrong.

thanks regards,
manju
Back to top
View user's profile Send private message
manjunath_mf

New User


Joined: 06 Dec 2007
Posts: 11
Location: Bangalore

PostPosted: Tue Dec 11, 2007 5:05 pm
Reply with quote

ksk wrote:
Hi Manjunath,

Kevin didn't answer for ur question but gave hint and asked u to think for the answer.

In subsequent steps mention OLD or SHR depending on ur requirement.

KSK


thank u ksk and kevin for the interest.

manju
Back to top
View user's profile Send private message
raghu cn

New User


Joined: 10 Dec 2007
Posts: 2
Location: Bangalore

PostPosted: Tue Dec 11, 2007 5:14 pm
Reply with quote

yes manjunath..
you are right.
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Tue Dec 11, 2007 5:23 pm
Reply with quote

yes, in the last step, we mention OLD, DELETE. Also temporary datasets will be deleted on their own once JOB is completed.
Back to top
View user's profile Send private message
manjunath_mf

New User


Joined: 06 Dec 2007
Posts: 11
Location: Bangalore

PostPosted: Tue Dec 11, 2007 5:27 pm
Reply with quote

ksk wrote:
yes, in the last step, we mention OLD, DELETE. Also temporary datasets will be deleted on their own once JOB is completed.

thnak u,,,

manju
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Dec 11, 2007 6:58 pm
Reply with quote

For a temporary data set name, the system ignores any abnormal termination disposition specified in the third subparameter and always PASSes the data set to subsequent steps.
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 FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top