Posted: Mon Dec 06, 2004 12:55 pm Post subject: GDG Version Number
Hi,
Can anyone help me with this scenario:
I have to transfer the current version of a GDG dataset on daily basis using Connect:Direct.
The Connect:Direct requires &DSNT parameter, which points to the destination directory and member name.
The receiving end of my dataset is not using mainframes and they receive the file on Windows, so there is no concept of GDG's there. They have a requirement to receive the unique file names daily.
We can make the dataset name unique either by using the current date or the GDG Version.
Can anyone please suggest me that how can I achieve this.
Is there a way to get the GDG dataset name in the JCL and use the same name while trasferring the dataset. _________________ Regards,
Programmer
Thanks for the link. This post will help me getting the GDG name in a dataset.
Can you please suggest me that how can I use this name while writing the C : D parameters. (Connect Direct Parameters). _________________ Regards,
Programmer
Now I want to avoid hard coding My.GDG.To.Transfer.G0001v06, which is the latest generation of the GDG My.GDG.To.Transfer _________________ Regards,
Programmer
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