How to Manually Assemble and Disassemble Multivolume Chains in RMM.

Technote (FAQ)


Question


Use the RMM CHANGEVOLUME subcommand with the PREVVOL and NOPREVVOL      
  operands to assemble and disassemble multivolume chains in DFSMSrmm. 

Answer

        Description:

        Use the RMM CHANGEVOLUME subcommand with the PREVVOL and NOPREVVOL      
          operands to assemble and disassemble multivolume chains in DFSMSrmm. 
        


        Resolution:

        Assembling and Disassembling Multivolume Chains                       
        -----------------------------------------------                       
        Multivolume chains are represented by RMM by chaining the respective  
          volume records in the RMM CDS together via the NEXT and PREV fields.
          The NEXT field points forward to the next volser in the sequence,   
          while the PREV field points backward to the previous volser in      
          the chain.  The PREVVOL and NOPREVVOL operands of the CHANGEVOLUME    
          subcommand are the only operands available to assemble and disassemble
          multivolume chains.                                                   
        Volumes are always added to, or removed from, the end of the chain.   
          In the following example three single volumes -- VOL001, VOL002     
          and VOL003 -- are not associated with each other because their      
          NEXT and PREV fields are blank.                                     
                                                                              
                 VOL001              VOL002              VOL003               
              ____________        ____________        ____________             
              PREV    NEXT        PREV    NEXT        PREV    NEXT            
             ------  ------      ------  ------      ------  ------
                                                                            
        Assembling Multivolume Chains:                                         
        ------------------------------                                         
        VOL001, VOL002 and VOL003 are assembled into a multivolume chain using 
          two CHANGEVOLUME ( CV ) subcommands.  After the first CV subcommand  
          is issued,                                                           
                                                                               
            RMM CHANGEVOLUME VOL002 PREVVOL(VOL001)                            
                                                                               
          VOL001 and VOL002 are chained together.                              
                                                                           
                 VOL001              VOL002              VOL003                
              ____________        ____________        ____________             
              PREV    NEXT        PREV    NEXT        PREV    NEXT             
             ------  VOL002      VOL001  ------      ------  ------            
                                                     
          And after the second CV subcommand is issued,
        
            RMM CHANGEVOLUME VOL003 PREVVOL(VOL002)                           
                                                                              
          VOL003 is added on to the end of the chain to create a three-volume,
          multivolume chain.                                                  
                                                                              
                 VOL001              VOL002              VOL003               
              ____________        ____________        ____________             
              PREV    NEXT        PREV    NEXT        PREV    NEXT            
             ------  VOL002      VOL001  VOL003      VOL002  ------           
                                                                              
        Disassembling Multivolume Chains:                                     
        ---------------------------------                                     
        The three-volume, multivolume chain assembled and depicted above can  
          be disassembled using two CHANGEVOLUME subcommands.  After the first
          CV subcommand is issued,                                            
        
            RMM CHANGEVOLUME VOL003 NOPREVVOL                                   
                                                                              
          VOL003 is detached from the end of the chain, but VOL001 and VOL002 
          are still chained together.  Specifying the NOPREVVOL operand causes  
          the target volume, VOL003 in this example, to be disconnected from    
          the chain.                                                            
                                                                              
                 VOL001              VOL002              VOL003               
              ____________        ____________        ____________             
              PREV    NEXT        PREV    NEXT        PREV    NEXT            
             ------  VOL002      VOL001  ------      ------  ------           
                                                                              
          And after the second CV subcommand is issued,                       
                                                                              
            RMM CHANGEVOLUME VOL002 NOPREVVOL                                   
                                                                              
          the remaining two-volume, multivolume chain is disassembled by      
          removing VOL002 from the end.  This leaves three single volumes,
          as originally.                                                   
                                                                           
                 VOL001              VOL002              VOL003            
              ____________        ____________        ____________          
              PREV    NEXT        PREV    NEXT        PREV    NEXT         
             ------  ------      ------  ------      ------  ------        
                                                           
        * Note:                                                            
            If you try to issue a CHANGEVOLUME subcommand with the PREVVOL  
              or NOPREVVOL operand against a target volume that isn't at    
              the end of the chain, RMM will issue an error message.  In    
              other words, you cannot break a multivolume chain into two    
              multivolume chains with a single CHANGEVOLUME subcommand.     
              You must always work with the last volume of the chain.       
            If you are trying to repair a broken chain reported by an RMM   
              error message during EDGUTIL with VERIFY, look for another    
              technical document written for that specific error message    
              and reason code.                                              
        

Historical Number

6643552

Rate this page:

(0 users)Average rating

Document information


More support for:

z/OS family

Software version:

1.13

Operating system(s):

z/OS

Reference #:

S1000569

Modified date:

2005-07-18

Translate my page

Machine Translation

Content navigation