search cancel

Are chained commands supported with AutoSys UNIX/Linux jobs?


Article ID: 257340


Updated On:


CA Workload Automation AE


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


Release : 11.3.6/12.0/12.1


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.