forcejobs

Everything about Control-M Server for z/OS installation or setup.
Post Reply
User avatar
Jacob
Nouveau
Nouveau
Posts: 4
Joined: 07 Oct 2010 12:00

forcejobs

Post by Jacob » 07 Oct 2010 10:44

Does anyone know how i can do a forcejob from a ctm z/os job to a ctm distributed job?

User avatar
Jean-Mi
Nouveau
Nouveau
Posts: 19
Joined: 08 Sep 2006 12:00
Contact:

Post by Jean-Mi » 14 Oct 2010 4:16

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 ********************************

User avatar
Jacob
Nouveau
Nouveau
Posts: 4
Joined: 07 Oct 2010 12:00

Post by Jacob » 21 Oct 2010 3:24

is there a specific protocol that i need to install on the remote server to listen for the requests?

Post Reply