IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Is to possible to change the LRECL in model gdg?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kiran_65

New User


Joined: 01 Apr 2005
Posts: 46

PostPosted: Wed Nov 21, 2007 8:43 pm
Reply with quote

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
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Nov 22, 2007 6:04 am
Reply with quote

Kiran,

Quote:
now i have to overwrite the production GDG with 4259.

You wanted to recreate the existing generations with 'new lrecl' icon_question.gif

Any specific reason?
Back to top
View user's profile Send private message
krisprems

Active Member


Joined: 27 Nov 2006
Posts: 649
Location: India

PostPosted: Thu Nov 22, 2007 9:14 am
Reply with quote

hey, kiran
Quote:
now i have to overwrite the production GDG with 4259.
You need to delete define the base GDG
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Nov 22, 2007 9:16 am
Reply with quote

KirsPrems,

Quote:
You need to delete define the base GDG

Not required.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 22, 2007 1:00 pm
Reply with quote

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
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Thu Nov 22, 2007 6:21 pm
Reply with quote

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
View user's profile Send private message
krisprems

Active Member


Joined: 27 Nov 2006
Posts: 649
Location: India

PostPosted: Thu Nov 22, 2007 7:20 pm
Reply with quote

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 icon_question.gif

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 22, 2007 7:27 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Nov 22, 2007 11:21 pm
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Fri Nov 23, 2007 3:15 am
Reply with quote

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
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Fri Nov 23, 2007 7:54 am
Reply with quote

expat, but even without a model, there is still a GDG base concept
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Nov 24, 2007 3:02 am
Reply with quote

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 ??? icon_rolleyes.gif
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Sat Nov 24, 2007 4:44 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Nov 24, 2007 2:28 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts 3270 personal communications. Can't c... TSO/ISPF 2
No new posts SELECT from data change table DB2 5
No new posts Trying to change copybook in online c... CICS 4
No new posts Change Default Scroll Setting TSO/ISPF 1
Search our Forums:

Back to Top