Versions Compared

Key

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

...

Universal Submit Job from z/OS to IBM i using the Remote Reply Facility

Anchor
113567311356761135673
1135676
This example demonstrates how to submit an IBM i batch job from z/OS and use the Remote Reply Facility.

Anchor
113567411356761135674
1135676
Native IBM i SBMJOB parameters can be specified as part of the Universal Submit Job USBMJOB command. The Remote Reply Facility detects messages, issued by the submitted job, that require a reply. The message then will be passed to a remote z/OS system for a reply. When the reply is received, the reply will be sent to the IBM i message queue that is waiting for the reply.

Anchor
113567511356761135675
1135676
z/OS issues the message to the z/OS console as a WTOR (Write To Operator with Reply) message. The WTOR message is written to the z/OS console using the Stonebranch USS uwto command. The reply to the message is sent back to the IBM i system.

...

The USBMJOB options used in this example are:

Option

Description

CMD

Specifies a command that runs in the submitted batch job. The command can be a maximum of 3000 characters.

RMTRPY

Specifies whether USBMJOB will use the Remote Reply Facility.

RMTREFRESH

Specifies the number of seconds to refresh the z/OS console message if no reply is received. The previous message is deleted from the console and a new one is issued.

RMTMSGPRFX

Specifies a text string up to 12 characters that will prefix the message written to the z/OS console.

RMTHOST

Specifies the host name or IP address of the z/OS system on which the reply message is issued.

MSGCMDPATH

Specifies the path name of the z/OS USS uwto program. If the uwto program is in the system PATH, this parameter is not required.

RMTUSER

Specifies the z/OS user ID with which the uwto program is executed.

RMTPWD

Specifies the password for the z/OS user ID specified with the RMTUSR parameter.

...

The SYSIN options used in this example are:

Option

Description

-script

ddname from which to read a script file. The script file is sent to the remote system by UCMD Manager for execution.

-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 remote user ID.

Components

Anchor
1135792
1135792
Universal Command Manager for z/OS

Anchor
1087998
1087998
Universal Submit Job