Performing a SENDJOB with XCOM Data Transport for z/OS
search cancel

Performing a SENDJOB with XCOM Data Transport for z/OS

book

Article ID: 27834

calendar_today

Updated On:

Products

XCOM Data Transport XCOM Data Transport - Windows XCOM Data Transport - Linux PC XCOM Data Transport - z/OS

Issue/Introduction

SENDJOBS may be sent to or from any XCOM partner. The job must be in a valid format to be submitted on the partner. Jobs may only be sent. There is no RECEIVE JOB. The contents of TESTJOB must be a job all ready to run on the target system. If it is being sent to another z/OS system, it will be submitted to the internal reader "as is". You will not find a copy of the job on the target system. If being sent to a LINUX or Unix system, you may need to set up the environment inside the job.  A SENDJOB may be sent from other platforms also.

Environment

  • XCOM™ Data Transport® for z/OS
  • XCOM™ Data Transport® for Windows
  • XCOM™ Data Transport® for UNIX/Linux PC

Resolution

This illustrates the JCL for a SENDJOB from XCOM for z/OS. TESTJOB contains a valid job that is ready to be submitted on the target platform.

  1. Put the job exactly the way you want it to run in the file pointed to by LFILE.
  2. Customize the job for your environment
  3. Submit the job
//JOBNAME JOB (ACCOUNTING),NAME,CLASS=A,MSGCLASS=X
//*
//STEP01 EXEC PGM=XCOMJOB,
// PARM=('TYPE=SCHEDULE,ACBNAME=XCOM')
//*
//STEPLIB  DD  DISP=SHR,DSN=XCOM.R12.CBXGLOAD
//SYSTCPD  DD  DSN=VTAM.TCPIP.TCPIP.DATA,DISP=SHR
//CEEOPTS  DD  DISP=SHR,DSN=XCOM.R12.SUPPORT.CBXGPARM(CEEOPTS)
//XCOMCNTL DD  DISP=SHR,DSN=XCOM.R12.CONFIG.XCOMCNTL
//         DD  DISP=SHR,DSN=XCOM.R116.SUPPORT.XCOMCNTL
//SYSIN01 DD *
TYPE=SEND
IPNAME=<IPName>
FILETYPE=JOB
LFILE=XCOM.TEST.PDS(TESTJOB)
/*
//

Additional Information

See our online documentation:  XCOMJOB Sample JCL