Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Regarding LRECL overide

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Regarding LRECL overide
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 DSN=TESTMG.UCORPL1@.POSTTRNS.G30019(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 DSN=TESTMG.UCORPL1@.POSTTRNS.G30019(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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Inefficient BUILD - VB records paddin... Daniel Prosser SYNCSORT 9 Thu Dec 14, 2017 3:52 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm
No new posts WER247A incompatible lrecl Danielle.Filteau SYNCSORT 8 Tue May 02, 2017 4:04 am
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts PL/I: opening file w/ dynamically det... Sam Dodgers PL/I & Assembler 6 Wed Jul 27, 2016 4:05 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us