Page 1 of 1
Way to change the LRECL of all existing generations of GDG?
Posted: Mon Dec 22, 2014 5:01 pm
by G Mishra
Hi,
I need to change the LRECL of a file from 100 to 300 bytes. We'd need to change the programtoo later. We have also modified the JCLs for new LRECL. But how do I care about the existing generations, they 100 bytes. Is there any way to change the file length of all generations of GDG?

Re: Way to change the LRECL of all existing generations of G
Posted: Mon Dec 22, 2014 5:29 pm
by zprogrammer
Hi Mishra,
First could you tell me , How will you fill the contents of 300 bytes for all old generations?
Re: Way to change the LRECL of all existing generations of G
Posted: Mon Dec 22, 2014 9:09 pm
by nicc
Copy them using whatever method you wish. You may need a program if the the data needs re-arranging although IEB/ICEGENER could do that for you.
Re: Way to change the LRECL of all existing generations of G
Posted: Mon Dec 29, 2014 3:21 pm
by G Mishra
Pandora-Box wrote:First could you tell me , How will you fill the contents of 300 bytes for all old generations?
SPACES will be used.
Re: Way to change the LRECL of all existing generations of G
Posted: Mon Dec 29, 2014 3:23 pm
by G Mishra
nicc wrote:Copy them using whatever method you wish. You may need a program if the the data needs re-arranging although IEB/ICEGENER could do that for you.
Thanks nicc but method is what I'm trying to figure out. Will IEBGENER allow to increase the lenght with a single step? I think, I'd need to copy as many steps as many GDGs are there...