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
 

 

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 Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Validating file with multiple header/... mohitsaini DFSORT/ICETOOL 6 Thu Apr 13, 2017 1:53 am


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