search cancel

Submitting batch script on AS400 agent from CA WA ESP Edition

book

Article ID: 212901

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

We need to schedule a batch script on AS400 server. Following doesn't work:
AS400_JOB OS400_999
   AGENT AGTOS400_2
   RUN DAILY
   COMMAND call PGM(/opt/CA2/WA_Agent/teste.sh)
ENDJOB

 

Environment

Release : 11.4 & 12.0

Component : CA Workload Automation System Agent

Resolution

Use UNIX_JOB instead of AS400_JOB:
UNIX_JOB OS400_999
   AGENT AGTOS400_2
   RUN DAILY
   SCRIPTNAME /opt/CA2/WA_Agent/teste.sh
ENDJOB