CA Deliver - Turn on Automated email

book

Article ID: 144595

calendar_today

Updated On:

Products

CA Deliver CA View

Issue/Introduction

The client would like to know how to automate emailing in CA Deliver.

Environment

Release : 14.0

Component : CA Deliver

Resolution

Emailing via CA View and Deliver can only be done in conjunction with the CA Spool Email Print Driver.

CA Deliver Email Notification Setup

  1. In the related CA SPOOL parameter dataset, have:

 

  1. SAR NAME=view_hlq                                              START=YES,                                    

           MAXFILES=10,                                  

           ADD$WTR=YES  

  1. b) SUBSCLAS=x         SYSOUT ALLOCATION INTERCEPT BY CLASS           

 

  1. In the related CA Spool parameter dataset, have:

 

  1. a) DESTID           QDEST=TESTM1,                                      

                                             FADDRES1='FROM=EPSC',                                

                                             FADDRES2='FILENAME=&FNM.PDF'                        

                      Note:  The FADDRESS can be edited, if needed.                                        

                                                           

  1. b) DEFNODE TESTEM,EMAIL-01,                                    

                              TCPDRIV=SMTP,CLASS=ALL,ACQUIRE=WORK,RELEASE=NOWORK    

                                                           

  1. c) NODE TESTM1,TESTEM,GROUP=1,PURGE=NO,                       

                                             SEP=0,                                                 

                                             TCPDRIV=SMTPT,                                        

                              TCPPORT=25,TCPPRT=CA.COM,TCPHOST=USILCA31    

 

  1. In CA Deliver RMOPARMS dataset:

 

  1. a)  ARCH1=DIRECT/view_hlq/CCITASK.DRASTASK.DBNAME

                     Note:   Must use Direct-to-View output for email notification.

                                  view_hlq  -  View database name

                                  DRAS domain name  in format of

  CCITASK.DRASTASK.DBNAME   where

                CCITASK – System ID for ENF

               DRASTASK – DRAS task name

                                                            DBNAME – Database name

  1. b) EFORMAT= EMAIL             <= modify if necessary

                    Note: this specifies by default that a notification is sent.

  1. c) EMAILQ=3/TESTM1          <= modify if necessary

                     Note: this specifies by default the notification goes to class 3 and  printer TESTM1 in CA Spool.

  1. d) JOBCLSL=… -| Used for Deliver
  2. e) SYSCLSL=… -|  pre-spool processing
  3. f) WEBSVR1=

                     WEBSVR2=                     

      WEBSVR3=                   

      WEBSVR4=

         Note:   WEBSRV1 specifies the weblink to the OM Web viewer that will be used to display the report.      

                            JOBCLSL and SYSCLSL are set to pick up the report Pre-Spool.

 

  1. Log on to Deliver.
  1. In CA Deliver:

                Select  ‘J’ from the Primary Selection panel to verify the job definition:

 CA Deliver ---------------- Job Selection List ---------------

Command ===>                              

Sel  Jobname           Description            

  *                 *                     

  EMAILTST            

******************************* Bottom of Data ****************

Selecting the job:

CA Deliver ---------------- Reports for Job: EMAILTST ------

Command ===>                                                
Desc   ===>                                                        

Prevrun===>                                                        

Sel Stepname Procstep DDname     Report ID                        Type 

    STEP1             SYSUT2     EMAIL-TEST                           

******************************* Bottom of Data ****************

Selecting the report:

CA Deliver ------------- Report Definition Attributes ---------------------

Command ===>                                                              

  ID     ---> EMAIL-TEST                           Job    ---> EMAILTST    

  Step   ---> STEP1             Procstep --->        DD     ---> SYSUT2      

                                                 Type   --->             

  Desc    ===>                                                            

Attributes:                                                                  

  ARCH  ===> 1                 BANNER===>                 BURST ===>            

  CC    ===>                 CLASS ===>                 COPIES===>            

  FCB   ===>                 FORM  ===>                 FLASH ===> (    ,   )

  LATE  ===>                 OPTCDJ===>                       UCS   ===>            

  FORMDF===>                 PAGEDF===>                       PRMODE===>            

  PRSET ===>                PRTY  ===>                                     

  CHARS ===> (    ,    ,    ,    )          MODIFY===> (    , )

  COPYG ===> (   ,   ,   ,   ,   ,   ,   ,   )             

                                                                             

The following attributes may be selected by entering the 1-character selection code on the command input line:                                              

                                                                              

     B- Bundle specifications.        D- Distribution specifications.    

     I- Special instructions.         T- Report identification text.   

  

NOTE: ARCH=1 refers to RMOPARM parameter ARCH1

Put a ‘D’ on the command line of the Report Definition and press [Enter]:

CA Deliver ----------- Report Definition Attributes (1) -----------------------

Command ===>                                                                     

  ID     ---> EMAIL-TEST                                        Job    ---> EMAILTST     

  Step   ---> STEP1            Procstep --->               DD     ---> SYSUT2       

Distribution Specifications:                                                 Writer/   Days   

Sel Grp Distribution ID                 Out  Dest           Eformat  MTWTFSS 

        DISTID1                            E                                YYYYYYY

******************************* Bottom of Data ********************************

OUT=E signifies EMAIL

 DAYS=YYYYYYY  signifies which days the email should be sent.

Selecting the Distribution Id:

CA Deliver - Distribution Data for Distid: DISTID1 --------------------------------------------------------------

Command ===>                                                          

Destination:                                                             

  Dest   ===> TESTM1   <= refers to CA Spoo1 printer for emails  CA Connect node===>NO (YESorNO)

  Writer ===>                                                        

  Class  ===> 3                                                        <= refers to the subsclass in CA Spool 

  Email  ===> [email protected]           <= email address of recipient                    

  EFormat===> EMAIL$LK                                    <= the name of the HTML email  banner              

  WebSvr ===> 1                                                    <= matches the RMOPARM WEBSVRn parameter                          

Distribute to:                                                           

  ===> JOHN JONES                                                   

  ===> HTML EMAIL NOTIFICATION USES EMAIL$LK                            

  ===>                                                                  

  ===>                                                                 

 

  1. Set up a JCL member like this:

//EMAILTST  JOB (115100000,CLASS=C,MSGCLASS=X,NOTIFY=STICH01        

/*JOBPARM S=*                                     

//STEP1 EXEC PGM=IEBGENER                         

//SYSPRINT DD SYSOUT=*                            

//SYSIN    DD DUMMY                               

//* INPUT DATASET                                 

//SYSUT1   DD DISP=SHR,DSN=STICH01.TEST.RPT1      

//SYSUT2   DD SYSOUT=(B,,LV11)      

 

7. Submit the job and Deliver should pick it up, pre-spool.  Then the ARCH1 statement will send an email notification to the email listed in the Distid using CA Spool Email print driver. Deliver should then generate an email notification containing a message.