>> I was asked to add a step that would check that the JOB is running on the 
>> correct LPAR.

Gadi,

I agree with Mikael of using SYSAFF parm to route the JOB to that LPAR it needs 
to run. This will not only eliminate making any changes to the PROC and you 
don't need to add a rexx exec to determine the Lpar it is running in.

So, change the Job in question to have the SYSAFF in either of these 2 
different ways

//SAMPJCRD JOB (aaaa,bbbb,cccc,dddd),&SYSUID,SYSAFF=plexname,
//         MSGCLASS=H,MSGLEVEL=(1,1),CLASS=A,NOTIFY=&SYSUID
/*

Or

/*JOBPARM SYSAFF=plexname

Thanks,
Kolusu


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to