Page 1 of 1

forcejobs

Posted: 07 Oct 2010 10:44
by Jacob
Does anyone know how i can do a forcejob from a ctm z/os job to a ctm distributed job?

Posted: 14 Oct 2010 4:16
by Jean-Mi
Hi,

Here is the JCL and Procedure to do that :

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=*
******************************** Bottom of Data ********************************

Posted: 21 Oct 2010 3:24
by Jacob
is there a specific protocol that i need to install on the remote server to listen for the requests?