Task Properties: IBM i Task
Property | UI Field Name | Description | Specifications | Required |
---|---|---|---|---|
| Command | If | Variables supported. | N |
| Command or Script | Specification for whether a single command or a script is being executed. | Valid values:
Default is Command (0). | N |
commandType | Command Type | Specifies the type of command used to execute | Valid values:
Default is CL (1). | N |
| End Severity | Specifies the message severity level that must be reached in order for the Initiator job to terminate. | N | |
| Environment Variables | Environment variables needed by the program to run. | List of environment variables: <environment> <variable> <name>env1</name> <value>test1</value> </variable> <variable> <name>env2</name> <value>test2</value> </variable> </environment> | N |
| Output File | If | N | |
| Exit Code Processing | Specification for how the Controller should determine whether the executed command failed or completed successfully. | Valid values:
Default is Success Exitcode Range (1). | N |
| Exit Codes | If | Format: Numeric. Use commas to list a series of exit codes; use hyphens to specify a range. Example: 1,5, 22-30. | Y |
| Scan Output For | If | The Controller will process this field as a regular expression. | Y |
| Job Name | Specifies the name associated with the job when it is processed by the system. | N | |
| Job Description | Specifies the job description used with the job. | N | |
| Job Queue | Specifies the job queue in which this job is placed. | N | |
| Job Priority(On JOBQ) | Specifies the job queue scheduling priority. The highest priority is 1 and the lowest priority is 9. | Valid Values:
| N |
| Failure Only | If | Boolean; Valid values: true/false. Default is false. | N |
| Output File | If | Y | |
| Number of Lines | If | Integer; Default is the value of the Retrieve Output Default Maximum Lines Universal Controller system property. | N |
| Starting Line | If | Integer; Default is 1. | N |
| Scan Text | If | The Controller will process this field as a regular expression. | N |
| Automatic Output Retrieval | Specification for whether you want the Controller to automatically retrieve any output from the job and attach it to the task instance record. | Valid values:
Default is NONE (1). Note If | N |
| Output Queue | Specifies the qualified name of the output queue used for spooled files that specify OUTQ(*JOB). This parameter applies only to printer files that have *JOB specified on the OUTQ parameter. | N | |
| Output Priority(On OUTQ) | Specifies the output priority for spooled output files produced by this job. The highest priority is 1 and the lowest priority is 9. | Valid Values:
| N |
| Output Type | If | Valid values:
Default is STDOUT (1). | Y |
| Parameters | Any arguments needed by the program to execute properly. | Variables are supported. | N |
| Print Device | Specifies the qualified name of the default printer device for this job. If the printer file being used to create the output specifies to spool the file, the spooled file is placed on the device's output queue, which is named the same as the device. | N | |
| Retry Exit Codes | Exit code range for which an auto-retry of the task in FAILED status will occur. Exit code ranges must be in the same format as ranges specified in | Format = 1,5,22-30 | N |
| Retry Indefinitely | Specification for whether or not the Controller should continue trying indefinitely to run this task. If | Boolean; Valid values: true/false. Default is false. | N |
| Retry Interval | Number of seconds between each retry. | Integer; Default is 60. | N |
| Maximum Retries | Maximum number of times that the Controller should retry this task after it has started and gone to a failed state. | Integer; Default is 0. | N |
| Suppress Intermediate Failures | Specification for whether or not the following will be suppressed until all scheduled retry attempts have been made:
| Boolean; Valid values: true/false. Default is false. | N |
| Runtime Directory | Directory from which the application should be executed. Variables are supported. | N | |
| Script | If | Y | |
| Wait For Output | If | Boolean; Valid values: true/false. Default is false. | N |