Previous Topic

Next Topic

Book Contents

Book Index

Examples for CTVUPINV

This sample job performs the following actions:

//CTVUPINV   EXEC CTVUPINV       

//SYSIN    DD *                             

   MODE=PROD                                

   PRINT=ALL                    

                            

INSERT                                                       

   TYPE=G                             

   REPNAME='GROUP REPORT NAME'                               

   INDNAME1=ACCOUNT                          

   INDVAL1=*                     

   FROMINDVAL=0000001                           

   TOINDVAL=0000050                             

   DEST1=STD2                                  

           

INSERT                                      

   TYPE=I                                                 

   INDNAME1=DOC_ID                                

   INDVAL1=900*                               

   INDNAME2=NAME                         

   INDVAL2= ‘DOE JOHN’

   DEST1=CTDS  

   DEST2=DSR50

   CTDS-EMAIL=support@your_company.com 

   DEST1=STD 

  

DELETE            

   JOBNAME=JOB9*

           

SELECT            

   INDNAME1=DEPARTMENT        

   INDVAL1=001  

   INDNAME2=ACCOUNT        

   INDVAL2=20*       

CHANGE TO        

   ADDRESS1='P.O.Box 100, 12345 Anywhere, Earth'        

   SUBSCRIBE=N           

           

SELECT       

   INDNAME1=WAREHOUSE           

   RECIPIENT=RECIP1       

REPLICATE       

   RECIPIENT=RECIP2       

//                                              

The following sample job defines passwords to prevent unauthorized access to PDF reports from two jobs. For JOB1234, a password will be required to access a specific index in the report. For JOB2345, a password will be required to access the whole report.

//CTVUPINV EXEC CTVUPINV

//SYSIN DD *

      MODE=PROD

      PRINT=ALL

INSERT                                

   TYPE=S                             

   REPNAME='CLASSIFIED REPORT'         

   RECIPIENT=JOHNDOE                 

   JOBNAME=JOB1234                  

   CATEGORY=FINANCIAL      

   CTDS-EMAIL=JOHN_DOE@BMC.COM

   PDF-USER-PASS=PASSWORD1    

   INDNAME1=SECTION1                  

   INDVAL1=A123                 

   INDNAME2=SECTION2                       

   INDVAL2=B123                  

INSERT                                 

   TYPE=R                              

   REPNAME='SECRET REPORT'

   RECIPIENT=JOHNDOE                  

   JOBNAME=JOB2345                    

   CATEGORY=HUMAN_RESOURCES                      

   CTDS-EMAIL=JOHN_DOE@BMC.COM

   PDF-USER-PASS=PASSWORD2        

//

Parent Topic

CTVUPINV – Global update of subscription records in the Permanent User File