Chapter 8

Submitting a Job on a Remote Node

This chapter describes the Sterling Connect:Direct Run Job (CDRUNJOB) command and its function. This chapter also shows sample CDRUNJOB screens and describes the required and optional CL parameters for the CDRUNJOB command.

Using the CDRUNJOB Command

Use the CDRUNJOB command to submit a job on the remote node. The job can be:

™A CL command that is submitted on a remote i5/OS node.

™JCL that is submitted by the remote Sterling Connect:Direct for z/OS, VM, or VSE to the z/OS, VM, or VSE system.

™A UNIX command or program that is submitted by Sterling Connect:Direct for Microsoft Windows, or UNIX to Microsoft Windows, or UNIX node.

™An OpenVMS command or program to submit a job on the OpenVMS node.

The command, JCL, or program must exist on the remote system before you submit it with CDRUNJOB.

Note: RUN JOB and RUN TASK Process statements use the authenticated user’s JOBD for the library list and not the CDJOBD library list, which is the CDADMIN job description used to start Sterling Connect:Direct. RUN JOB and RUN TASK Process statements use the CDJOBQ job queue.

CDRUNJOB Command Example

The command shown in the following figure is an example of the CDRUNJOB command.

CDRUNJOB SNODE(DALLAS.OS3901) SNODENVIRN(OS390)

JOBFILE(’USER1.AS400.CNTL(IEFBR14)’)

SNODEID(USERID PASSWORD)

For additional examples, refer to the IBM Sterling Connect:Direct Process Web site at http://www.sterlingcommerce.com/documentation/processes/processhome.html

Page 109
Image 109
IBM CDI5UG1107 manual Submitting a Job on a Remote Node, Using the Cdrunjob Command, Cdrunjob Command Example