ALLOC means GETMAIN/STORAGE OBTAIN

I mean I understand that z/os always gets in increments of 1K or 4096 so free 
means it was part of the storage z/os obtained but the user didn’t request so 
the storage that the user requested really starts at 7FF9CE28 right ?

> On Jul 21, 2022, at 10:28 AM, Harris Morgenstern <[email protected]> wrote:
> From MVS Authorized Assembler Services Reference:
> 
> ,SPACE=ALLOC
> ,SPACE=FREE
> ,SPACE=UNALLOC
> Specifies whether allocated, allocated and free, or unallocated storage is to 
> be reported.
> ALLOC indicates that the virtual addresses and lengths of blocks of storage 
> allocated to the specific
> area are to be listed.
> FREE indicates that in addition to the information supplied by ALLOC, the 
> virtual addresses and
> lengths of free space within the allocated blocks are to be listed.
> UNALLOC indicates that the virtual addresses and lengths of unallocated 
> blocks of storage are to be
> listed. Both TCB and REAL are ignored when UNALLOC is specified.
> Note: An allocated block of storage is a block that is a multiple of 4K in 
> size and contains some
> storage that has been allocated via a GETMAIN or STORAGE macro. The free 
> storage is the storage
> within an allocated block that has not been allocated via a GETMAIN or 
> STORAGE macro. An
> unallocated block of storage is a block that is a multiple of 4K in size and 
> contains no allocated
> storage.
> 
> The NOTE at the bottom is relevant.   Free storage exists within an allocated 
> block.   So in your case:
> 
> 
> 0008E508 008FD250  00000001 7FF9C000 00051000 00000001 7FF9C000 00000E28
> 
> 
> 
> The allocated block starts at 7FF9C000x and is of length 51000x.   There is 
> free space within this allocated block starting at
> 
> 7FF9C000x of length E28x.
> 
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN

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

Reply via email to