Whoops, based on John's reply, that's a 9 cylinder WARM area (1655640/1022
divided by 180 pages per cylinder of 3390) 

                                Marty

-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of John Franciscovich
Sent: Wednesday, April 12, 2006 11:15 AM
To: [email protected]
Subject: Maxspool

>I did a "query maxspool system":
>MAXIMUM SPOOL FILE COUNT FOR SYSTEM   IS 1655640
>
>Wow, we got a little way to go<G>.
>
>But....1,655,640?  What binary magical number is that?
>1655640 decimal is
>194358 hex which is
>000110010100001101011000 in binary.
>
>Just where is the magically charms in those numbers?

Each spool file on your system has a unique system spool id number, in
addition to the user spool id number (which is the one you see in
queries).

The total number of spool files allowed on your system is determined by
the number of system spool ids that are available. Each system spool id
is an index into the warm start area, so the maximum number of system
spoolids is determined by the size of your warm start area.

The control block that holds the table of system spoolids is HCPSFNDX.
The following is the description from the prolog of HCPSFNDX:

* FUNCTION:  To point to the first map page (SPMBK) for each
*            spool file in the system.  The number of entries
*            in this table is determined by the size of the
*            warmstart area.  Each 4K page on the warmstart
*            cylinder allows for 1022 entries, one for each
*            possible spoolid.  If an entry contains a zero,
*            it indicates that the corresponding spoolid is
*            available for a new spool file.

John Franciscovich
z/VM Development

Reply via email to