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?
Way to change the LRECL of all existing generations of GDG?
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Re: Way to change the LRECL of all existing generations of G
Hi Mishra,
First could you tell me , How will you fill the contents of 300 bytes for all old generations?
First could you tell me , How will you fill the contents of 300 bytes for all old generations?
zprogrammer
Re: Way to change the LRECL of all existing generations of G
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.
Regards
Nic
Nic
Re: Way to change the LRECL of all existing generations of G
SPACES will be used.Pandora-Box wrote: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
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...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.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute