Way to change the LRECL of all existing generations of GDG?

JES2/3, JCL, utilities.
Post Reply
G Mishra
New Member
Posts: 6
Joined: Tue Jun 17, 2014 7:17 pm

Way to change the LRECL of all existing generations of GDG?

Post 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? :?
zprogrammer
Global Moderator
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

Post by zprogrammer »

Hi Mishra,

First could you tell me , How will you fill the contents of 300 bytes for all old generations?
zprogrammer
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Way to change the LRECL of all existing generations of G

Post 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.
Regards
Nic
G Mishra
New Member
Posts: 6
Joined: Tue Jun 17, 2014 7:17 pm

Re: Way to change the LRECL of all existing generations of G

Post 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.
G Mishra
New Member
Posts: 6
Joined: Tue Jun 17, 2014 7:17 pm

Re: Way to change the LRECL of all existing generations of G

Post 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...
Post Reply

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

Register

Sign in

Return to “JCL - Job Control Language.”