The AGENT statement identifies the distributed platform where the Micro Focus job runs under the control of the agent.
Supported Job Types
This statement is required for the Micro Focus job type.
Syntax
This statement has the following format:
AGENT agent_name [ROUTING|NOROUTING]
Specifies a valid agent name as defined in the agent definition.
Limits: Up to 16 characters; the first character must be a letter. The remaining characters can be any combination of alphanumeric characters, including the underscore character. The name cannot contain spaces or special characters.
Note: The agent name is an application level statement, meaning it can be specified before the job definition.
Indicates that the scheduling engine selects an agent based on resource availability and not on the agent_name operand.
Indicates that the agent specified by the agent_name is selected. NOROUTING is the default.
Example: Define Agent Workload
This example runs the CYB22.MF job under the WIN2K3_22 agent:
APPL TESTMF AGENT WIN2K3_22 ExitCode 1-9999 failure jobclass a servername JCLDEMO MF_JOB CYB22.MF ExitCode 1500003 s Jclcontent C:\JCLDEMO\ESJCL\FIVESTEPS.jcl version RUN DAILY ENDJOB
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|