Below is jcl to apparently do a forcejob from z/os to a job on the ctm distributive side
Has anyone attempted to use this jcl, i cant seem to get it to work on the ctm distributive side. I would think you would have to have something installed and running on the ctm server to listen for these rexec commands?
JCL :
****** ***************************** Top of Data ******************************
000001 //FORCEJOB JOB (W77,EKOCM,X,EXPLOIT),'Remote Order CTM',CLASS=M
000002 //STP1 EXEC FORCEJOB,TABLE=TEST,JOB=JMB1,DATE=%%$ODATE
****** **************************** Bottom of Data ****************************
PROC :
********************************* Top of Data **********************************
//FORCEJOB PROC
//REXEC EXEC PGM=REXEC,REGION=512K,
// PARM=('-l Control-M_User -p Control-M_Password Control-M_Server_Name ctmorder &TABLE &JOB &DATE FORCE')
//SYSPRINT DD SYSOUT=*