Posted: Thu Oct 15, 2009 11:19 am Post subject: Regarding GDG
Need information about GDG:
How to check the existance of GDG? For this I've used LISTCAT ENTRIES(GDG NAME) in my JCL and ran it. I got MAXCC is 4 and the message is showing GDG does not exist.
Hence I tried to create GDG with the same name which I used in LISTCAT statement, but I'm getting an error saying GDG already exist with the given name.
But when I tried to delete GDG with DELETE GDG NAME PURGE statement in my JCL, I could do it successfully....
Please provide me information related to this.......
1. Are you defining a GDG Model here, as the DDName (and the low level qualifier of DSN) suggests that?
If yes, MODEL is no longer required if DFSMS is installed and tailored correctly. Also, realize that only one model will ever need to be created, and that your storage administrators will have already created it.
2. You've used "KEEP" in DISP, any specific reason? Why not use "CATLG"?
3. And if the answer to question 1 is no -- read through what Gerry has said. Also, pay attention to the DISP parameters he has used. _________________ Regards,
Joined: 09 Aug 2008 Posts: 1631 Location: Mumbai, India
Posted: Wed Oct 21, 2009 2:28 pm Post subject:
Its a type error. I'm using same data set names for creating both index and model.
Such errors would lead you to have no or late solution, so please try to avoid them.
I know purpose of CATLG is to place an entry pointing to the data set in the system or user catalog. and the purpose of KEEP is data set is to be kept on the volume if this step terminates normally.
Can you guys please explain the scenarios when we've to use each or exact purpose of each...
If your site is SMS manged then KEEP will be treated as CATLG but for non-sms site with KEEP you need to provide the volume number as you said.
One example of using KEEP in DISP can be for such a data-set which I need to hand-over to client once created and as a programmer that data is no longer needed to me so I'd not like to keep the entry for that in my system or user catalog. _________________ Regards,
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum