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
 

 

Dataset Disposition Question

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

New User


Joined: 06 Jul 2007
Posts: 6
Location: AHMEDABAD

PostPosted: Sat Jul 07, 2007 5:00 pm    Post subject: Dataset Disposition Question
Reply with quote

IF I SPECIFY DISP=(NEW,CATLOG) then dataset will be created and also cataloged. But I want to know We don't specify KEEP in DISP Parameter then will it keep record or catalog entry only?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sat Jul 07, 2007 9:05 pm    Post subject:
Reply with quote

Please feel free to try this out and report back on the results.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Sat Jul 07, 2007 9:06 pm    Post subject: Re: Dataset Disposition Question
Reply with quote

u r ques is not that clear but here goes the answer as per my understanding of the ques !

when u specify CATLG the dataset wud be catalogued

when u specify KEEP the dataset will be kept and not catalogued ! There wont be an entry in the catalog !
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Jul 07, 2007 10:38 pm    Post subject:
Reply with quote

Try disp=(old,pass).
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Jul 08, 2007 7:45 am    Post subject:
Reply with quote

Hello,

You do not want to use NEW,KEEP when creating a dasd dataset. You typically do not want to use that even for a tape file (one exception being when you are writing on media that is not part of your inventory - say to mail back to another processing center).

Many sites have standards or a "reader exit" that will not permit the use of NEW,KEEP for dasd datasets. While JCL may permit this, it is best to know that you might get this to run, but it is not a good way to implement.
Back to top
View user's profile Send private message
YOGESH KAPADIYA
Currently Banned

New User


Joined: 06 Jul 2007
Posts: 6
Location: AHMEDABAD

PostPosted: Sun Jul 08, 2007 9:04 am    Post subject: reply
Reply with quote

I am asking that if I specify DISP=(NEW,CATLOG,DELETE) then that dataset will reside on DASD or there will be put only catalog entry?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Jul 08, 2007 9:40 am    Post subject:
Reply with quote

Hello,

If you specify (NEW,CATLG,DELETE) for a dasd dataset, the dataset will be created on disk and an entry will be made in the catalog.

Your follow-up post does not really match your initial post.
Quote:
IF I SPECIFY DISP=(NEW,CATLOG) then dataset will be created and also cataloged. But I want to know We don't specify KEEP in DISP Parameter then will it keep record or catalog entry only?


When posting a question, care needs to be taken to ensure that what you want to ask is clear to those who read your post.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Sun Jul 08, 2007 11:24 am    Post subject:
Reply with quote

dick scherrer wrote:
Hello,

If you specify (NEW,CATLG,DELETE) for a dasd dataset, the dataset will be created on disk and an entry will be made in the catalog.

Your follow-up post does not really match your initial post.
Quote:
IF I SPECIFY DISP=(NEW,CATLOG) then dataset will be created and also cataloged. But I want to know We don't specify KEEP in DISP Parameter then will it keep record or catalog entry only?


When posting a question, care needs to be taken to ensure that what you want to ask is clear to those who read your post.


You need to look at the JCL manual, the second disposition is what to do with the dataset if the step completes normally, the third is what to do with the dataset if the step abends. A disposition CATALG means the dataset will be cataloged and the data will be kept.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Jul 09, 2007 1:18 am    Post subject:
Reply with quote

In 1969 I looked stuff like these fundemental basics up in manuals. Don't they exist anymore icon_eek.gif
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Mon Jul 09, 2007 7:14 am    Post subject:
Reply with quote

Bitneuker wrote:
In 1969 I looked stuff like these fundemental basics up in manuals. Don't they exist anymore icon_eek.gif


Which fundemental basics or manuals? Looking things up in the manual takes at least some knowledge which in many case seems to be lacking.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Jul 09, 2007 4:46 pm    Post subject:
Reply with quote

In the top menue one can read the manuals about JCL. In this case TS knows his question is about DISP so it's just a matter of searching for DISP in the manual.
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 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
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am


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