POST Command Fails with REQ=EXTERNAL parameter in Batch Job
search cancel

POST Command Fails with REQ=EXTERNAL parameter in Batch Job

book

Article ID: 440416

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

Failure occurs when running the POST command via a batch job (such as BTI) due to the invalid parameter: REQ=EXTERNAL.

Environment

Release: 12.0, 12.1

Component: WA CA 7 Edition

Cause

The POST command syntax for batch jobs does not support the REQ=EXTERNAL parameter. When you use this parameter in a batch environment, the POST command fails to process the requirement.

Resolution

To successfully post an external dataset requirement(when the job is in the REQ queue) via a batch job, remove the REQ=EXTERNAL parameter and use the job name or number along with the Data Set Name (DSN) or number.

Use the following syntax for the POST command in the batch job:

POST,{JOB={jobname|jobnumber}|JOBL=longjobname}

{,USR=text}

{,DEPJOB=jobname}

{,DSN=dataset}[,INTERNAL=YES][,PREQ=(numbers,...)]

Additional Information

For additional information, refer to the tech docs link below: