On 02/13/2012 04:26 PM, Paul Gilmartin wrote:
On Mon, 13 Feb 2012 16:11:53 -0600, Joel C. Ewing wrote:

(I'd prefer, for legibility, SPACE=(1,54.000.000.000) with European
thousands separators.)

Not sure about your reference to half-word chunks.  Although there are
16Mi limits on max numerical value for primary-qty parameter,
"SPACE=(1,54000),AVGREC=M"
is perfectly legitimate for allocating 54,000 MiB (only about 5% high if
you really needed exactly 54,000 MB) ...

I stand corrected; "24-bit" rather than "halfword".  But, still,
why can't the computer perform the algebra for me?  And what
is the etymology of "AVGREC"?  It seems to suggest "Average
Record Size"; it means nothing of the sort.

(Or, even, "SPACE=(1,54000M)", or even, "SPACE=(1,54G)"?)

(Is there a default for the SPACE unit?  If not, I'd suggest "1",
as in "SPACE=(,54000000000)".)

-- gil

The keyword creator was apparently thinking about the intended changed interpretation to the SPACE parameter caused by the presence of the AVGREC parameter and not about the meaning of the AVGREC value itself, which is inconsistent with the way all other parameter keywords appear to have been chosen, and makes even less sense when one uses "1" instead of avgreclen for the first SPACE sub parameter.

I also agree it would be more intuitive if direct suffixes such as B, KB, MB had been used in the quantity values instead of the separate AVGREC - and while they're adding that enhancement to JCL have the suffixes represent the correct powers of 10. When having an application programmer or an end-user discuss implementation design limits on number of entries or number of records, I never encountered anyone said 10 thousand and meant 10,240 rather than 10,000!!

--
Joel C. Ewing,    Bentonville, AR       [email protected] 

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

Reply via email to