View previous topic :: View next topic
|
Author |
Message |
sayed
New User
Joined: 11 Mar 2005 Posts: 2 Location: india
|
|
|
|
hi,
friends
can give the code for concatination of gdg's |
|
Back to top |
|
|
Girishm
New User
Joined: 09 Mar 2005 Posts: 35 Location: Mysore
|
|
|
|
hey Syed,
Please explain your question in detail, it helps all othere to understand your question and are able to post replies.
Here is what i understood from your question.
You wanted to concatinate GDG versions to a DD statement of JCL.
If that was your question, here in the answer:
//INPTFILE DD DSN=XX.XXX.XX(0),DISP=SHR
// DSN=YY.YYY.YYY(0),DISP=SHR
// ....
Hope i answered your question,
Girish |
|
Back to top |
|
|
sayed
New User
Joined: 11 Mar 2005 Posts: 2 Location: india
|
|
|
|
hi friends,
can any body give me the code & explain me the procedure to be followed for concatenating the generations of gdg or data set----kindly send me |
|
Back to top |
|
|
narena
New User
Joined: 16 Mar 2005 Posts: 18
|
|
|
|
Hi.....
The JCL for concatenating is as follows.......
//gdgfile dd dsn=ggg.vvv.nn(0), disp=shr
// dsn=ggg.vvv.nn(-1), disp=shr
// dsn=ggg.vvv.nn(-2), disp=shr
// dsn=ggg.vvv.nn(-3), disp=shr
like that we can specity any no of versions which we want to concatenate ok |
|
Back to top |
|
|
muthukumarapandian
New User
Joined: 08 Oct 2004 Posts: 42 Location: chennai, india
|
|
|
|
Hi,
Try this ( ef is ur gdg name , uj is ur ps or member of pds
Quote: |
dd1 dd dsn=ab.cd.ef, disp=shr
dd2 dd dsn=sf.hj.uj,disp=shr |
|
|
Back to top |
|
|
rick
New User
Joined: 18 Jun 2004 Posts: 59 Location: Chennai
|
|
|
|
Hi Sayed,
Concatination can be done by giving multiple datasets under one DD name.
there is a little error in narena's code, I am rectifying it and sending u.
Quote: |
//gdgfile dd dsn=ggg.vvv.nn(0), disp=shr
// DD dsn=ggg.vvv.nn(-1), disp=shr
// DD dsn=ggg.vvv.nn(-2), disp=shr
// DD dsn=ggg.vvv.nn(-3), disp=shr
|
DD was mising there. Try this!! it will work |
|
Back to top |
|
|
abirami
New User
Joined: 11 Mar 2005 Posts: 7
|
|
|
|
if u have all the versions in the same gdg, there is no need to specify any version..
//gdgfile dd dsn=ggg.vvv.nn, disp=shr
This will concatenate all the versions in the gdg ggg.vvv.nn.
If you need only specific versions then you have to specify the individual versions as rick said. |
|
Back to top |
|
|
|