Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 PL/I: opening file w/ dynamically det... Sam Dodgers PL/I & Assembler 6 Wed Jul 27, 2016 4:05 pm
No new posts SORT Format should be RECFM=VB,LRECL=350 senthamizh SYNCSORT 8 Fri Jan 15, 2016 8:20 pm
No new posts Concatenate different LRECL GDG's Rohit Umarjikar DFSORT/ICETOOL 6 Wed Nov 18, 2015 3:30 am
No new posts Does SORT provide LRECL in programming? jacobdng DFSORT/ICETOOL 5 Fri Mar 20, 2015 12:50 pm
No new posts merge records from 2 ps files with di... kishpra DFSORT/ICETOOL 6 Wed Mar 19, 2014 1:00 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us