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

Combine multiple GDG versions into a single new version


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Wed Oct 08, 2008 2:52 am
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: 1702
Location: Australia

PostPosted: Wed Oct 08, 2008 3:09 am
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
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
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: 1702
Location: Australia

PostPosted: Wed Oct 08, 2008 4:21 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
Search our Forums:

Back to Top