View previous topic :: View next topic
|
Author |
Message |
kiran_65
New User
Joined: 01 Apr 2005 Posts: 46
|
|
|
|
Hi All,
I have encountered a problem?
In the production there is a GDG with LRECL= 003353. for a request they changed it to 4259. the file is in tape. in testing we tested by creating a flat file. Now we have to change in production GDG.
now i have to overwrite the production GDG with 4259.
can you please help in resolving the isssue.
Thanks,
Kiran. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Kiran,
Quote: |
now i have to overwrite the production GDG with 4259. |
You wanted to recreate the existing generations with 'new lrecl'
Any specific reason? |
|
Back to top |
|
|
krisprems
Active Member
Joined: 27 Nov 2006 Posts: 649 Location: India
|
|
|
|
hey, kiran
Quote: |
now i have to overwrite the production GDG with 4259.
|
You need to delete define the base GDG |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
KirsPrems,
Quote: |
You need to delete define the base GDG |
Not required. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
If You have SMS active the model GDG is not needed any more...
Speak with the storage group in order to have a proper STORAGE CLASS
defined and assigne to the dataset |
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 632 Location: Wisconsin
|
|
|
|
murmohk1 is right, why go back and change the older versions' lrecl and a GDG base defines nothing about LRECL. We have bases in production where the actual generations have different LRECLs after implementations. |
|
Back to top |
|
|
krisprems
Active Member
Joined: 27 Nov 2006 Posts: 649 Location: India
|
|
|
|
Quote: |
We have bases in production where the actual generations have different LRECLs after implementations.
|
In case we need to concatenate the GDG, can we concatenate the versions with different LRECL
In case i need to give
Code: |
//INFILE DD DSN=HLQ.GDG.BASE,DISP=...
write in to a o/p file
//OUTFILE DD DSN=O/P FILE |
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
In case we need to concatenate the GDG, can we concatenate the versions with different LRECL |
as a general "GOOD PRACTICE" point it's illogic to concatenate FB datasets
with a different record lengths
for VB dataset the processing program must be aware of the data it works with |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
If the dataset is SMS managed or not, tape or DASD, just so long as a valid DATACLAS is assigned to the dataset there is no need for a model or dummy DSCB anymore, not since about 1995. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi Kiran,
you mention the LRECL has changed from 3353 to 4259 but there is no mention whether the record layout has changed in the first 3353 bytes.
If this is the case, you are going to have problems with your programs if you try to concatenate data.
Gerry |
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 632 Location: Wisconsin
|
|
|
|
expat, but even without a model, there is still a GDG base concept |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Stodolas,
Yeah, silly me, fancy paying attention to the title of the thread and making rash assumptions. Now where did I put those birch twigs ??? |
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 632 Location: Wisconsin
|
|
|
|
Crap it does say model, not base, whoops, I never had to deal with the model, our storage people deleted them all. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
In the dark ages before SMS all GDG's had to have a referemce to a dummy or model GDG, depending on the method used at any particular site.
The dummy or model was just that a reference, and each individual sub parameter could be over written like this
DCB=(modeldscb,RECFM=??,LRECL=????,BLKSIZE=?????)
but now it is so much easier
RECFM=??,LRECL=???? |
|
Back to top |
|
|
|