View previous topic :: View next topic
|
Author |
Message |
YOGESH KAPADIYA Currently Banned New User
Joined: 06 Jul 2007 Posts: 6 Location: AHMEDABAD
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Please feel free to try this out and report back on the results. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Try disp=(old,pass). |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
YOGESH KAPADIYA Currently Banned New User
Joined: 06 Jul 2007 Posts: 6 Location: AHMEDABAD
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
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 |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
In 1969 I looked stuff like these fundemental basics up in manuals. Don't they exist anymore |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Bitneuker wrote: |
In 1969 I looked stuff like these fundemental basics up in manuals. Don't they exist anymore |
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 |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
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 |
|
|
|