The client would like to know how to automate emailing in CA Deliver.
Release : 14.0
Component : CA Deliver
CA Deliver Email Notification Setup
MAXFILES=10,
ADD$WTR=YES
FADDRES1='FROM=EPSC',
FADDRES2='FILENAME=&FNM.PDF'
Note: The FADDRESS can be edited, if needed.
TCPDRIV=SMTP,CLASS=ALL,ACQUIRE=WORK,RELEASE=NOWORK
SEP=0,
TCPDRIV=SMTPT,
TCPPORT=25,TCPPRT=CA.COM,TCPHOST=USILCA31
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
Note: this specifies by default that a notification is sent.
Note: this specifies by default the notification goes to class 3 and printer TESTM1 in CA Spool.
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.
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
===>
===>
//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.