Previous Topic: JCLCONTENT Statement—Specify the Full Path to the JCLNext Topic: JNDIUSER Statement—Specify a JNDI User ID


JCLREFERENCE Statement—Specify the JCL Name on the Server Side

The JCLREFERENCE statement specifies the name of the JCL on the server side. With JCLREFERENCE, only the name of the file that is specified as the JCL reference is sent to the server. The server then reads and submits the named file.

Supported Job Types

If the JCLCONTENT statement is not used, this statement is required for the following job type:

Syntax

This statement has the following format:

JCLREFERENCE jclreference
jclreference

Defines the name of the JCL on the server side.

Limits: Up to 256 characters; case-sensitive. The name can contain any characters. If it contains delimiters, it must be enclosed in single quotes.

Note: JCLREFERENCE is a job level statement, meaning it can be specified only within the specific MF_Job Job definition.

Example: Define a JCL Reference

In the following example, the location of the JCL on the server side is defined.

AGENT CYBDB1
JCLREFERENCE C:\jcldemo\WAJCL\IF.jcl
SERVERADDR 'lod00003.zz.com'