View previous topic :: View next topic |
Author |
Message |
Srika Beginner
Joined: 12 Nov 2003 Posts: 3 Topics: 2 Location: Bangalore
|
Posted: Fri Nov 14, 2003 7:04 am Post subject: NDM - JOB trigger |
|
|
Hi All,
I want to submit a JOB existing in another LPAR through NDM from my current working LPAR. I have the connection set up between the two regions. Could anyone help me in doing the same same by submitting the NDM JCL.
Eg -
Region - 1
Region - 2
I want to trigger a JOB thru NDM JCL present in Region -2 from Region -1.
Thanks in advance.
regs, _________________ -Sri |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
Posted: Fri Nov 14, 2003 8:52 am Post subject: |
|
|
Srika,
You can use a simple route card from region 1 to submit a job in region2. Let us say that you have JCL named "testjob" in a PDS MYID.JCL.CNTL. This pds is in region 2 and you want to submit this jcl from region1.
The following JCL will give you the desired results.
Code: |
//SRIKARA JOB 'SRIKAR',
// CLASS=A,
// MSGCLASS=Y,
// MSGLEVEL=(1,1),
// NOTIFY=SRIKAR
//*
/*ROUTE XEQ REGION2
//*
//STEP0010 EXEC PGM=IKJEFT01
//SYSUDUMP DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSTSIN DD *
SUB 'MYID.JCL.CNTL(TESTJOB)'
//*
|
The above JCL is first transferred to region2 and gets executed there and thereby sumbits the testjob in region2
Hope this helps...
cheers
kolusu
Last edited by kolusu on Sun Nov 16, 2003 5:28 pm; edited 1 time in total |
|
Back to top |
|
|
Kathi Beginner
Joined: 14 May 2003 Posts: 25 Topics: 0 Location: Mission Viejo, California
|
Posted: Sun Nov 16, 2003 12:43 am Post subject: |
|
|
I think kolusu's solution is better than using NDM as NDM is an asyncronous process. While the batch jobstep may run the NDM, you do not know when the process will run. At very busy times, I have seen a process take up to 4 hours and more before it executed. |
|
Back to top |
|
|
|
|