MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

NDM - JOB trigger

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Srika
Beginner


Joined: 12 Nov 2003
Posts: 3
Topics: 2
Location: Bangalore

PostPosted: Fri Nov 14, 2003 7:04 am    Post subject: NDM - JOB trigger Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Fri Nov 14, 2003 8:52 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Kathi
Beginner


Joined: 14 May 2003
Posts: 25
Topics: 0
Location: Mission Viejo, California

PostPosted: Sun Nov 16, 2003 12:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group