After conversion to SAP plugin jobs, jobs are failing with below error
<Recipient Error: Recipient and RcpType must be defined>
Original jil
/* ----------------- PVESS_NG___1601D_AA_RLS10030 ----------------- */
insert_job: PVESS_NG___1601D_AA_RLS10030 job_type: CMD
box_name: PVESS_NG___1601D
command: sapjob REPORT=RLS10030 VARIANT=ZNG_NON_INTEGR TITLE=NON_INTEGRE COPIES=1 IMMEDIATELY=N RELEASE=N EXPIRATION=8 RECIPIENT_TYPE=C RECIPIENT=DISTLISTNG
machine: PVESNG_SAP_N
owner: tngjob
permission:
date_conditions: 0
description: "Run program"
n_retrys: 1
std_out_file: "/home/catng/PROD/autosys/logs/${AUTO_JOB_NAME}_$(date +%y%m%d).log"
std_err_file: "/home/catng/PROD/autosys/logs/${AUTO_JOB_NAME}_$(date +%y%m%d).err"
alarm_if_fail: 1
group: VES
send_notification: F
notification_msg: "Job failed"
resources: (PVES_STOPPED_T,QUANTITY=1)
notification_emailaddress: [email protected]
Converted jil
insert_job: PVESS_NG___1601D_AA_RLS10030 job_type: sap
description: Run program
machine: PVESNG_SAP_N
resources: (PVES_STOPPED_T,QUANTITY=1)
owner: TNG@_SAP__PB1_200
box_name: PVESS_NG___1601D
group: VES
max_run_alarm: 0
alarm_if_fail: y
n_retrys: 1
notification_msg: Job failed
notification_emailaddress: [email protected]
sap_client: 200
sap_lang: EN
sap_rfc_dest: PB1
sap_job_name: PVESS_NG___1601D_AA_RLS10030
sap_recipients: {rcp_type=dli, express=n, no_forward=n, copy=n, blind_copy=n, no_print=n}{rcp_type=su, recipient=DISTLISTNG, express=n, no_forward=n, copy=n, blind_copy=n, no_print=n}
sap_step_parms: abap_name=RLS10030, copies=1, banner_page=n, footer=n, release=n, variant=ZNG_NON_INTEGR, new_spool=y, expiration=8, title=NON_INTEGRE, print_imm=n
sap_release_option: A
Release : 11.3.6
Component : CA Workload Automation AE (AutoSys)
Adapt the job definition and specify the following
sap_recipients: {rcp_type=dli, recipient=DISTLISTNG, express=n, no_forward=n, copy=n, blind_copy=n, no_print=n}