Previous Topic

Next Topic

Book Contents

Book Index

Example for CTDUPTR

This sample job performs the following actions on the recipient tree member CTDTREE in the CTDP.V900.PARM library:

//CTDUPTR   EXEC CTDUPTR                  

//SYSIN    DD *                             

   MODE=PROD                                

   LIBRARY=CTDP.V900.PARM                   

   MEMBER=CTDTREE                           

SELECT                                      

   AUTHORIZE=K06                            

CHANGE TO                                   

   AUTHORIZE=-K06                           

              >M51;S                        

              >N16                          

SELECT                                      

   RECIPIENT=A*                             

   LEVEL=55                                 

CHANGE TO                                   

   PARENT=MGT                               

   PARENT-LEVEL=20                          

DELETE WITHCHILD                            

   RECIPIENT=A0101                          

INSERT                                      

   RECIPIENT=D0101                          

   LEVEL=60                                 

   PARENT=DEV                               

   PARENT-LEVEL=20                          

   DESC=+NEW DEVELOPMENT EMPLOYEE

   SYNONYM=+synonym1

           +synonym2  

COPY B0101 to

    RECIPIENT=C0101

    ADDRESS=-*ALL*

             +c0101@bmc.com

       

//                                              

Parent Topic

CTDUPTR – Global update of Control-D recipient tree