MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

BLKSIZE=0

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
abhisun
Beginner


Joined: 20 Nov 2003
Posts: 21
Topics: 9

PostPosted: Mon May 17, 2004 2:04 am    Post subject: BLKSIZE=0 Reply with quote

How much BLKSIZE actually is given by system when we specify BLKSIZE=0 ?

One of my production job is creating a dataset(say D1) with following :-
DCB=(SYS2.DSCB,RECFM=VB,LRECL=6132,BLKSIZE=0)

and one step is copying data from a dataset(say D2, with same attributes as above). But sometimes(say once in thousand runs) the copy step (D2 => D1) abends saying 'record length/type altered'

What I suspect is that the BLKSIZE=0 gives authority to system to decide a suitable BLKSIZE, but due to some problem sometimes the system decides BLKSIZE lower than that of record length & thats where I get an abend( For eg. blksize = 4000 for RECL=6132)

Can someone please assist ?

Thanks!
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Mon May 17, 2004 5:01 am    Post subject: Reply with quote

abhisun,

As far as I know , the blocksize of a dataset can never be less than the lrecl of the file. So your theory of the blksize causing the problem can be ruled out. You need to provide more details the entire error message along with message number. Anyway check this link which discusses blksize=0

http://www.mvsforums.com/helpboards/viewtopic.php?t=130&highlight=blksize

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Tue May 25, 2004 2:18 pm    Post subject: Reply with quote

Hi abhisun,

As I recall the lrecl stated in a DD stmt for a V or VB file is the MAX lrecl that can be written to it.

You don't say if the pgm(s) referencing the file are utilities or "home grown" COBOL pgms.

If COBOL pgms, you define the limits of the record in the FD (speciically the RECORD CONTAINS clause. In it you state the minimum rec length and the maximum.

There's also the AWO issue, but that concerns the blksize more than the lrecl. In any event I don't think we have enough info for that right now.

Regards, Jack.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group