Scheduling on IBM i

About this task

When scheduling a job on IBM i systems, the job launches a native command that can be either a system or a user command. The native command consists of SBMJOB system command, which launches a batch job. The native command starts one or more batch jobs. The batch jobs can be monitored only if they are started by the native command. The IBM i Agent Monitor can monitor a maximum of 130 batch jobs.

You can specify the name of the queue where the monitoring agent component runs by using the MonitorQueueName property in the native job launcher section of the JobManager.ini file. If you do not specify this property, the default queue (QBATCH) is used.

For more information, see Configuring properties of the native job launcher [NativeJobLauncher].

Use the Dynamic Workload Console to check whether an IBM i job is waiting for a reply to a message. An IBM i job that is waiting for a message reply is in the SUSP (suspended) status. This status indicates that the job is running while waiting for input. When the input is received, the job status changes to EXEC (executing).

For more information about job statuses, see Status description and mapping for distributed jobs.

If an IBM i job is waiting for a reply, you can view the message text and the related reply. This information is written into the correspondent HCL Workload Automation job log so that the HCL Workload Automation operator knows the exact message the IBM i job is waiting for.

When an IBM i job is waiting for a reply to a message, you can reply to the message directly from the Monitor Workload of the Dynamic Workload Console. The job in SUSP (suspended) status requires your attention on additional information to be displayed. A pop-up window shows the message that is waiting for your reply. Reply to the message in the pop-up window, then select one of the following actions:
Forward action
To forward your reply. A message in the pop-up window confirms that your reply was sent successfully.
Cancel action
To cancel your reply. The pop-up window is closed.
You can even define standard rules to automate the reply to the waiting messages. When defining an IBM i job, by using the Dynamic Workload Console specify the list of messages for which you want to set up an automated reply. For each message, specify:
Message Id
Message identifier.
Message Text
Text of the message.
Message Reply
An automated reply that you want to send.

For more information, see IBM i jobs.