View previous topic :: View next topic
|
Author |
Message |
mrdinesh
New User
Joined: 23 Sep 2006 Posts: 24 Location: India
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Are these fixed or variable length files? |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
are the record layouts the same ?
Gerry |
|
Back to top |
|
|
mrdinesh
New User
Joined: 23 Sep 2006 Posts: 24 Location: India
|
|
|
|
these are fixed block versions |
|
Back to top |
|
|
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
|
|
mrdinesh,
Do you know the Largest LRECL of gdg version? If you know the Largest LRECL then it is easy |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
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 |
|
|
mrdinesh
New User
Joined: 23 Sep 2006 Posts: 24 Location: India
|
|
|
|
Yes the record layouts are the same. But the larger ones contains some extra filler at the end. |
|
Back to top |
|
|
|