Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Override Standard z/OS I/O File ddnames

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

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.


//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

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

 
 
 

  • No labels