search cancel

Are chained commands supported with AutoSys UNIX/Linux jobs?

book

Article ID: 257340

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

Can an AutoSys command job on UNIX/Linux contain a chained command? (command 1; command 2)

Environment

Release : 11.3.6/12.0/12.1

Resolution

To support chained commands (commands separated by a semicolon) on UNIX, ensure that the oscomponent.wrapper.exec.force parameter in the agentparm.txt file is set to false (the default). When this parameter is set to false, the SEND_SIGNAL event is not supported. If you set the oscomponent.wrapper.exec.force parameter to true, the exec function is supported and chained commands are not supported. To support chained commands and the SEND_SIGNAL event, take the following actions:

Set the oscomponent.wrapper.exec.force parameter to true and move the chained commands to a script file.

Update the command attribute in the job definition to execute the script file instead of the chained command.