Previous Topic

Next Topic

Book Contents

Book Index

%%GLOBAL

Control statement %%GLOBAL defines a member that contains a set of user-defined variables and values. Before job submission, the Control-M monitor reads this member from the library referenced by DD statement DAGLOBAL in the Control-M procedure. The content of the member is added to the user-defined variable environment of the job.

You can specify more than one %%GLOBAL statement for a job. Each statement is added to the user-defined variable environment of the job.

Global members can also be placed in cache, which can significantly improve performance if the member is used by many jobs. For more information, see Loading Members to Cache, and the corresponding topic in the INCONTROL for z/OS Administrator Guide.

If Control-M fails to access the variable member (member not found, and so on), the job is not submitted and a warning message is issued to the user who requested the job.

The format of the %%GLOBAL control statement is:

//* %%GLOBAL memname

where memname is a valid member name of 1 through 8 characters.

Example

//* %%GLOBAL TAPES

//* %%GLOBAL CURRENCY

Parent Topic

Control Statements