Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following example illustrates a CA-Driver Procedure using the above system variables to create a unique command ID.

<pre>
//DRVRUCMD    DPROC REMOTEJOBNAME=UCMD
-cmdid '&REMOTEJOBNAME.&C_L2JN.&C_L27#.&C_L2DOD'
</pre>
Panel
Html bobswift



Anchor
1135300
1135300
Each step that executes UCMD should reference this procedure in order to create the unique UCMD cmdid as the first parameter within the UCMD SYSIN DD statement. This procedure defaults the cmdid to the values defined by one user variable called remotejobname and 3 CA-7 variables.

...

  • &C_L2JN = PRD00001
  • &C_L27# = 0030001
  • &C_L2DOD 03265
  • &REMOTEJOBNAME = UCMD (default value in Driver Procedure DRVRUCMD)


<pre>
//S1 EXEC UCMDPRC  
//SYSIN DD *  
//CALL EXEC  PROC=DRVRUCMD,REMOTEJOBNAME=  
-cmd command -host hostname -userid username -pwd password 
-managerft yes -restart auto   
/* 

Expanded Results:

//S1 EXEC UCMDPRC
//SYSIN DD *
-cmdid UCMDPRD000010030001032625
-cmd command -host hostname -userid username -pwd password 
-managerft yes -restart auto
/*
<pre>
Panel
Html bobswift


Note
titleNote

If the cmdid identifier contains spaces, it must be enclosed in either single ( ' ) or double ( " ) quotation marks.

...

The following example illustrates how to override the variable value for REMOTEJOBNAME in the CALL step.


<pre>
//S1    EXEC UCMDPRC
//SYSIN DD *  
//CALL  EXEC  PROC=DRVRUCMD,REMOTEJOBNAME=unixpayrolljob1
-cmd command -host hostname -userid username -pwd password 
-managerft yes -restart auto 
/* 

Expanded Results: 

//S1    EXEC UCMDPRC 
//SYSIN DD *
-cmdid unixpayrolljob1PRD000010030001032625
-cmd command -host hostname -userid username -pwd password 
-managerft yes -restart auto   
/*
</pre>
Panel
Html bobswift


Note
titleNote

If the cmdid identifier contains spaces, it must be enclosed in either single ( ' ) or double ( " ) quotation marks.

...

Anchor
1135191
1135191
The SYSIN options used in these examples are:

...

cellspacing0
styletext-align: left; width: 100%;
classTable_with_Header

...

:

...

...

Option

...

stylebackground-color: #F0F0F0; border-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: middle; width: 324pt;

Description

...

...

...

...

Command to execute on the remote system.

...

...

...

...

Host name or IP address of the remote system on which to execute the

...

script.

...

...

...

...

styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;

...

...

Remote user ID with which to execute the command.

...

...

...

...

styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;

Password for the user ID.

...

...

...

...

Specification for whether or not the

...

Manager Fault Tolerance (MFT) feature is used.

...

styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;

...

styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;

...

A value of yes specifies that MFT should be used.

-cmdid

Unique command ID associated with the remote unit of work.

...

...

...

styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;

...

Specification for whether or not the manager is requesting restart. A value of yes indicates the Manager is being restarted.

Components

Universal Command Manager for z/OS

...