Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Combine multiple GDG versions into a single new version

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
mrdinesh

New User


Joined: 23 Sep 2006
Posts: 24
Location: India

PostPosted: Wed Oct 08, 2008 2:50 am    Post subject: Combine multiple GDG versions into a single new version
Reply with quote

Hi,

I have a problem as we want to combine multiple GDG versions ito a new GDG version under that GDG. But the problem is that some of the GDG versions are of diferent record length.

Is there any way to overcome this problem?
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Oct 08, 2008 2:52 am    Post subject:
Reply with quote

Hello,

Are these fixed or variable length files?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Wed Oct 08, 2008 3:09 am    Post subject:
Reply with quote

Hi,

are the record layouts the same ?


Gerry
Back to top
View user's profile Send private message
mrdinesh

New User


Joined: 23 Sep 2006
Posts: 24
Location: India

PostPosted: Wed Oct 08, 2008 3:26 am    Post subject: Reply to: Combine multiple GDG versions into a single new ve
Reply with quote

these are fixed block versions
Back to top
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Wed Oct 08, 2008 4:14 am    Post subject: Reply to: Combine multiple GDG versions into a single new ve
Reply with quote

mrdinesh,

Do you know the Largest LRECL of gdg version? If you know the Largest LRECL then it is easy
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Wed Oct 08, 2008 4:21 am    Post subject:
Reply with quote

Hi,

I would convert the smaller LRECL files to the larger ones and then concatenate them with the larger LRECL files assuming you don't want to lose any of the data.

On the other hand, if you don't need the additional bytes of the larger LRECL files, I would convert the larger ones to the samller size and then concatenate them with the smaller LRECL files.

How are programs going to handle the combined file ?

As I asked earlier, are the record layouts the same ?


Gerry
Back to top
View user's profile Send private message
mrdinesh

New User


Joined: 23 Sep 2006
Posts: 24
Location: India

PostPosted: Thu Oct 09, 2008 11:04 pm    Post subject: Reply to: Combine multiple GDG versions into a single new ve
Reply with quote

Yes the record layouts are the same. But the larger ones contains some extra filler at the end.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sum the fields in particular format f... sharana64 DFSORT/ICETOOL 9 Fri Jan 05, 2018 1:11 am
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts Can we combine the rows with same key... V S Amarendra Reddy DB2 12 Fri Dec 01, 2017 10:29 pm
No new posts How to query MAXGENS of an existing P... Chuchulo Hatyzak JCL & VSAM 4 Wed Nov 22, 2017 10:23 pm
No new posts Formatting multiple records to a sing... Vignesh Sid SYNCSORT 3 Tue Nov 07, 2017 12:22 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us