Versions Compared

Key

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


Panel
Table of Contents

Override Standard z/OS I/O File ddnames

Anchor
1134617
1134617
This example demonstrates how to override the z/OS standard output and standard error ddnames in the UCMDPRC procedure.

Anchor
1134618
1134618
The example:

  • Overrides the UNVOUT ddname in the UCMDPRC procedure with a data set allocation.
  • Overrides the UNVERR ddname with a SYSOUT class of H.


Panel
//jobname JOB CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID
//*  
// JCLLIB ORDER=SBI.UNV.SUNVSAMP 
//* 
//STEP1  EXEC UCMDPRC  
//UNVOUT  DD  DISP=SHR,DSN=hlq.APP.LIST(OUTPUT) 
//* UNIVERSAL COMMAND WILL CREATE THE MEMBER 
//UNVERR  DD  SYSOUT=H 
//SYSIN   DD  *
-host   hostname 
-userid username  
-pwd    password  
-cmd    command  
/*


SYSIN Options

Anchor
1134655
1134655
The SYSIN options used in this example are:

Option

Description

-host

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

-userid

Remote user ID with which to execute the command.

-pwd

Password for the user ID.

-cmd

Command to be executed on the remote system.


Components

Universal Command Manager for z/OS