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

Regarding LRECL overide


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

New User


Joined: 14 Jul 2005
Posts: 1
Location: mumbai

PostPosted: Wed Sep 27, 2006 12:57 pm
Reply with quote

Hi,
I have sime query regarding the DCB parameter of a dataset. My query is as followed:
My job contains two steps :

1) the first step creates a dataset with following DCB parameters
//D1U DD [email protected](0),
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// AVGREC=M,
// SPACE=(1,(26,13),RLSE),
// RECFM=FB,
// LRECL=458,
// BLKSIZE=0,
// DCB=(GDG.PATTERN)

2) In next step there is a program that uses this dataset but the program requires the file with Attributes as LRECL=32760 and RECFM=U.

Now when i use this dataset with DISP=SHR and no other parameters the program abends with FILE ATTRIBUTES MISMATCH.

But when i use this dataset with following paqrameters

//D1U DD [email protected](0),
// DISP=SHR,RECFM=U,BLKSIZE=32760,LRECL=32760

The job runs fine. Nowmy questions is why job ran fine when i overidden the DCB parameters as required by program? Can These parametrs be overrriden
Back to top
View user's profile Send private message
cj10

New User


Joined: 18 Sep 2006
Posts: 9

PostPosted: Wed Sep 27, 2006 2:37 pm
Reply with quote

Prakash,

Whenever you want to alter the file attributes for a GDG, you need to override the DCB parameters of the model dataset. And that is what you have done for the program to work fine !!!!!!!!!!!!!!!!
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts OpenPGP Decryption job getting LRECL ... IBM Tools 7
No new posts WER247A SORTOUT HAS INCOMPATIBLE LRECL SYNCSORT 11
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts A command to change LRECL of an exist... JCL & VSAM 7
No new posts Puzzled about output LRECL DFSORT/ICETOOL 4
Search our Forums:


Back to Top