Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Concatinate GDG versions to a DD statement of JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Concatinate GDG versions to a DD statement of JCL
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    Post subject: Re: testing
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    Post subject: concatenation of gdg
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject: Re: Concatinate GDG versions to a DD statement of JCL
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am
No new posts Converting NULL column into NOT NULL ... Raghu navaikulam DB2 5 Sat Aug 06, 2016 3:45 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us