z/OS DFSMSdfp Advanced Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


CVAFDSM Macro Overview and Specification

z/OS DFSMSdfp Advanced Services
SC23-6861-01

The CVAFDSM macro is used to obtain volume information for an indexed or nonindexed VTOC.

The CVAFDSM macro can be used for an indexed VTOC to obtain:
  • One or more extents that describe unallocated space on the volume
  • A count of free DSCBs on the VTOC
  • A count of free VTOC index records in the VTOC index.
  • A value that represents the highest allocated DSCB as determined by the VTOC INDEX.
The CVAFDSM macro can be used for an nonindexed VTOC to obtain:
  • One or more extents that describe unallocated space on the volume

The format of the CVAFDSM macro is:

Read syntax diagramSkip visual syntax diagram
>>-+-------+--CVAFDSM--ACCESS=MAPDATA--,MAP=-+-INDEX--+--------->
   '-label-'                                 +-VOLUME-+   
                                             '-VTOC---'   

>--+---------------+--+--------------------+-------------------->
   '-,EXTENTS=addr-'  |            .-NO--. |   
                      '-,RTA4BYTE=-+-YES-+-'   

>--+--------------------------+--+-----------------+------------>
   |                 (1)      |  +-,UCB=-(ucbaddr)-+   
   '-,MAPRCDS=-+-YES--------+-'  '-,DEB=addr-------'   
               +-(YES,addr)-+                          
               |    (2)     |                          
               +-NO---------+                          
               '-(NO,addr)--'                          

>--+-----------------+--+--------------+--+--------------+------>
   |         .-NO--. |  '-,CTAREA=addr-'  '-,HADSCB=addr-'   
   '-,COUNT=-+-YES-+-'                                       

>--+----------------------------+--+------------------------+--->
   |          .-NOKEEP--------. |  |          .-NO--------. |   
   '-,IOAREA=-+-KEEP----------+-'  |          |     (3)   | |   
              +-(KEEP,addr)---+    '-,BRANCH,-+-YES-------+-'   
              '-(NOKEEP,addr)-'               +-(YES,SUP)-+     
                                              '-(YES,PGM)-'     

>--+--------------------+--+-------------------+---------------><
   |          .-NOTOK-. |  |      .-I--------. |   
   '-,EADSCB=-+-OK----+-'  '-,MF=-+-L--------+-'   
                                  '-(E,addr)-'     

Notes:
  1. Default if MF=I.
  2. Default if MF=L or MF=(E, addr).
  3. If YES is coded, the default is SUP.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014