Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Macro name changed from html to html-bobswift during server to cloud migration processing.

...

The syntax of the START command is as follows:

Panel
Html bobswift
<pre>
S manager-cmd,STDIN=stdin-dataset
</pre>

The manager-cmd value is the command value provided by the UCMD Manager. The stdin-dataset value is the dynamically allocated data set that contains the Manager's standard input data.


Anchor
1057317
1057317
As an example, the following Manager command, executed from a Windows system:

Panel
Html bobswift
<pre>
ucmd -c "prdtask,opt=abc" -cmd_type stc -u ts0023 ...
</pre>


Anchor
1024754
1024754
results in a START command as follows:

Panel
Html bobswift
<pre>
S PRDTASK,OPT=ABC,STDIN=TS0023.UCM.C08AD835.STDIN
</pre>


Anchor
1057316
1057316
Access to UCMD Manager started task requests and the associated command value can be protected with Universal Access Control Lists. See Universal Command Server for zOS - UACL for complete details on protecting request types.

...

The following figure illustrates a started task procedure JCL.


Panel
Html bobswift
<pre>
//UCMREQ   PROC
//*
//UCMSS000 EXEC PGM=UCMSS000
//STEPLIB  DD   DISP=SHR,DSN=UNV.SUNVLOAD
//STDIN    DD   DISP=SHR,DSN=&STDIN
//SYSUDUMP DD   SYSOUT=H
//*
//S1       EXEC PGM=ABC123
//SYSOUT   DD  SYSOUT=A,HOLD=YES
//SYSPRINT DD  SYSOUT=A,HOLD=YES
//SYSIN    DD  DISP=SHR,DSN=&STDIN
</pre>


Anchor
1024803
1024803
The JCL executes two steps:

...

Anchor
1057488
1057488
For example, the following UCMD Manager command can be used from Windows or UNIX to request execution of the command reference cref100 and pass it options opt1 and opt2:

Panel
Html bobswift
<pre>
ucmd -c "cref100 opt1,opt2" -cmd_type cmdref ...
</pre>


Anchor
1024813
1024813
z/OS command references can define any valid command type, such as USS shell commands and scripts and started task commands.

...

Anchor
1024816
1024816
The following command reference executes a ucopy command to read a file.


Panel
Html bobswift
<pre>
# Command reference to read a file.
#

-format cmd
-type   shell

</pre>

<eof>

Html bobswift
<pre>

ucopy /opt/application/file.txt
</pre>

Anchor
1024831
1024831
STC Command Reference Example

Anchor
1024832
1024832
The following command reference starts started task SCHEDINT.


Panel
Html bobswift
<pre>
# Command reference to scheduler interface.
#

-format cmd
-type   stc
</pre>

<eof>

Html bobswift
<pre>

SCHEDINT,OPT=ABC
</pre>

Anchor
1026945
1026945