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 fro 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,
//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 *
See CA XCOM Data Transport for z/OS - 12.0 section FILETYPE under SYIN01 parameters