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
 

 

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: 4648
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: 356
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: 356
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 Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm


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