Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
disp for temp dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: disp for temp dataset
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

Moderator Team Head


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

PostPosted: Tue Dec 11, 2007 4:29 pm    Post subject: Reply to: disp for temp dataset
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    Post subject: Re: Reply to: disp for temp dataset
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    Post subject:
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    Post subject: Re: Reply to: disp for temp dataset
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject: hi ksk
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

Senior Member


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

PostPosted: Tue Dec 11, 2007 6:58 pm    Post subject:
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    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 Question about dataset sequence numbe... harisukumaran JCL & VSAM 23 Tue May 29, 2018 9:31 am
No new posts Temp dataset unusual behavior sheersh JCL & VSAM 5 Tue May 08, 2018 9:52 pm
No new posts How could i share my personal dataset... James Halley TSO/ISPF 1 Fri Mar 23, 2018 9:41 pm
This topic is locked: you cannot edit posts or make replies. How could i share my personal dataset... samenxia163 TSO/ISPF 1 Fri Mar 09, 2018 12:18 pm
No new posts Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us