IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Concatinate GDG versions to a DD statement of JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sayed

New User


Joined: 11 Mar 2005
Posts: 2
Location: india

PostPosted: Fri Mar 11, 2005 11:10 am
Reply with quote

hi,
friends
can give the code for concatination of gdg's
Back to top
View user's profile Send private message
Girishm

New User


Joined: 09 Mar 2005
Posts: 35
Location: Mysore

PostPosted: Fri Mar 11, 2005 9:12 pm
Reply with quote

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
View user's profile Send private message
sayed

New User


Joined: 11 Mar 2005
Posts: 2
Location: india

PostPosted: Sat Mar 12, 2005 11:33 am
Reply with quote

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
View user's profile Send private message
narena

New User


Joined: 16 Mar 2005
Posts: 18

PostPosted: Wed Mar 16, 2005 5:14 pm
Reply with quote

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
View user's profile Send private message
muthukumarapandian

New User


Joined: 08 Oct 2004
Posts: 42
Location: chennai, india

PostPosted: Wed Mar 16, 2005 7:22 pm
Reply with quote

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
View user's profile Send private message
rick

New User


Joined: 18 Jun 2004
Posts: 59
Location: Chennai

PostPosted: Wed Mar 16, 2005 7:52 pm
Reply with quote

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
View user's profile Send private message
abirami

New User


Joined: 11 Mar 2005
Posts: 7

PostPosted: Fri Mar 18, 2005 5:04 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
No new posts process statement for SUPREC, CMPCOLM... TSO/ISPF 4
No new posts SYNCSORT/ICETOOL JOINKEYS SORT Statem... DFSORT/ICETOOL 13
No new posts DFDSS COPY using Filter REFDT statement JCL & VSAM 2
Search our Forums:

Back to Top