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 Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts More than 1 Include criteria for sing... Roy Ware SYNCSORT 6 Wed Sep 13, 2017 11:45 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am

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