View previous topic :: View next topic
|
Author |
Message |
sunnybunny
New User
Joined: 29 Nov 2005 Posts: 49
|
|
|
|
Hi,
Can any one suggest me what exactly the difference between KEEP,CATLG and DELETE parameters in DISP. Please explain with an example?
Regards,
Suneel. |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi suneel,
KEEP --> This indicates that the dataset is to be retained or kept upon successful execution of the job. If it is used with a temporary dataset the system automatically changes it to PASS
CATLG --> It is used to specify that the data set is to be retained and recorded in the system catalogs after successfull job termination.
DELETE--> It indicates that the dataset being referenced is to be deleted after successful termination of the job.
If it is specified in tapedata set which has a retention period or exp date subsequent to the current date then it is deleted only after the retention period on the tape..
hope got it... |
|
Back to top |
|
|
sunnybunny
New User
Joined: 29 Nov 2005 Posts: 49
|
|
|
|
HI khamarutheen,
1. For KEEP you are saying that 'the dataset is to be retained or kept'.
May i know where exactly that dataset is kept that means where exactly it stores?
2. May i know what is system catalogs?
Please suggest me. |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi Sunnubunny,
Quote: |
May i know where exactly that dataset is kept that means where exactly it stores? |
KEEP means it stores on the system buffer memmory.... and retained laterly
Quote: |
May i know what is system catalogs? |
System catalogs means for example u take a rack where v store a books in order.. like that system itself stores all the files in the memory in that way.. uncataloged is like book on table and cataloged is like on the rack.. |
|
Back to top |
|
|
srrao_kilari
New User
Joined: 28 Nov 2005 Posts: 12 Location: New Delhi
|
|
|
|
khamarutheen wrote: |
Hi Sunnubunny,
Quote: |
May i know where exactly that dataset is kept that means where exactly it stores? |
KEEP means it stores on the system buffer memmory.... and retained laterly
|
For Keep, next time if u want to access the dataset, it has to accessed by volume serial number, not by name. |
|
Back to top |
|
|
sunnybunny
New User
Joined: 29 Nov 2005 Posts: 49
|
|
|
|
Hi khamarutheen,
Thanks for ur reply.
still i have doubt in KEEP. You are saying that if we use KEEP for a particular dataset that will be stored in system buffer memory. Say for example iam creating one dataset with (NEW,KEEP,DELETE) and job has successfully terminated.
That means the dataset is created with KEEP. So now my question is 'Is it possible to access same dataset from some other job? If so is it enough to give DISP as OLD or SHR in next job?' |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi srrao_kilari,
Yes u r right.. to retain the dataset which is kept previouly is done by the VOL No.. only.. fine i left in my post. thanks .. |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi sunnybunny,
Quote: |
(NEW,KEEP,DELETE) and job has successfully terminated. That means the dataset is created with KEEP |
If successfull it will keep else it will delete.. b clear in that..
Quote: |
'Is it possible to access same dataset from some other job? |
YES
Quote: |
If so is it enough to give DISP as OLD or SHR in next job?' |
Since it is not cataloged u can use OLD with VOL parameter..
SHR allows for multiple jobs to read the same data set. so it's up to u to choose either OLD or SHR... |
|
Back to top |
|
|
sunnybunny
New User
Joined: 29 Nov 2005 Posts: 49
|
|
|
|
Hi,
Now i got the difference. I have one more doubt.
Suppose i created a dataset with CATLG, later i uncataloged same dataset with UNCATLG. So it mean that the data in the dataset is not deleted. So how to view that data in that dataset? |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi sunnybunny,
So u wanna to know
Quote: |
how to view that data in that dataset? |
It can be viewed by providing the right VOL and SERIAL no.. |
|
Back to top |
|
|
|