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.
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.
//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)
/*
//
See our online documentation: XCOMJOB Sample JCL