On 23/03/2021 11:55 pm, Paul Gilmartin wrote:
What infuriates me is that when I want, e.g., 1GB (a reasonable amount
given that I can carry terabytes in my shirt pocket), I must factor it into
U, K, or M (why no "G", even "T"?) rather than the intuitive
BLKSIZE=0,SPACE=(1000000000,1).

I'm not sure whether this is intended use, but it seems to work the way I would expect:

//DD1      DD DISP=(NEW,CATLG),
//     DSN=ANDREWR.TEST.DATASET,
//     SPACE=(2,(3,4)),AVGREC=M,
//     LRECL=80,RECFM=FB,DSORG=PS,BLKSIZE=27920,
//     UNIT=SYSDA

ISPF 3.4 dataset information shows:

Organization  . . . : PS
Record format . . . : FB
Record length . . . : 80
Block size  . . . . : 27920
1st extent megabytes: 6
Secondary megabytes : 8

So to allocate in GB I can do:

//     SPACE=(1000,(1,1)),AVGREC=M,

which gives me 1GB primary, 1GB secondary:

Organization  . . . : PS
Record format . . . : FB
Record length . . . : 80
Block size  . . . . : 27920
1st extent megabytes: 1000
Secondary megabytes : 1000

--
Andrew Rowley
Black Hill Software

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to