My first question what is the error message? Second, if this is larger than 4GB, then you need to use DSNTYPE=LARGE or a DATACLASS that allows greater than 4GB (EF I think for non-vsam). Or if the file allocates more than 64K Tracks, still need DSNTYPE=LARGE
Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Peter Vander Woude > Sent: Friday, April 28, 2017 9:54 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: BPXWDYN and AVGREC usage > > I've run into an issue that I can't figure out. When using BPXWDYN and trying > to use AVGREC parm, the dynamic allocation request is using a HUGE (like > 65536000 KB) space allocation request, even though the request is for > LRECL(32) and AVGREC(K) with SPACE(8000,500). The REQUEST does have > BLKSIZE(0) specified, but even if I code a BLKSIZE appropriate for this > dataset, I still get the wacky allocation. > > The actual command is: > > ALLOC DSN('xx.xx.xx(+1)') FI(DD1) NEW CATALOG RELEASE LRECL(32) MOUNT > BLKSIZE(0) AVGREC(K) GDGNT SPACE(8000,500) RECFM(F,B) DSORG(PS) > > Why is it not using the right space allocation request? BTW, this is on z/OS > 2.1. > > Thanks, > Peter > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN