Versions Compared

Key

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


Panel
Table of Contents

Override z/OS Standard Files with Procedure Symbolic Parameters

Anchor
1134716
1134716
This example demonstrates how to override the z/OS standard input, output, and error using the UCMDPRC procedure symbolic parameters.

Anchor
1134717
1134717
The UCMDPRC procedure provides parameters STDIN, STDOUT, and STDERR for the allocation of the UNVIN, UNVOUT, and UNVERR ddnames, respectively.


Panel
//jobname JOB CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID
//*
//        JCLLIB ORDER=SBI.UNV.SUNVSAMP 
//* 
//STEP1 EXEC UCMDPRC,
//  STDIN='DUMMY',
//  STDERR='SYSOUT=H',  
//  STDOUT='DISP=SHR,DSN=hlq.DATA.LIST(OUT2)'  
//SYSIN  DD  *
-host     hostname
-userid   username
-pwd      password
-cmd      command 
/*   


Anchor
1134750
1134750

SYSIN Options

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