Re: Accessing objects in another job's QTEMP

Bruce Vining <bvining-r/[email protected]>
Newsgroups gmane.comp.lang.as400.mi
Message-ID <OFA26553D0.84EFBE3B-ON86257116.00576EF5-86257116.0058DBF3@us.ibm.com>
Walden,

The QWCJBITP API allows you to have a user program execute in another job 
for purposes such as determining what's in the other jobs QTEMP for debug 
purposes.  What you're asking about seems more like a command executed in 
one job to set the initial jobs QTEMP address to the address of another 
jobs QTEMP.   QWCJBITP does not provide any direct enablement for such a 
command. 

Such a command would also seem to have to modify the QTEMP address located 
in the PCO of the initial job.  As the PCO cannot be modified from user 
state you should most likely review my posts to this forum of:

March 7, 2005 - Attention Users of *SYSTEM State
November 18, 2005 - UNDEL with V5R4
Februray 3, 2006 - V5R4 and patch programs

Bruce Vining




"Walden H. Leverich" <WaldenL-z/[email protected]> 
Sent by: mi400-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]
02/14/2006 02:12 PM
Please respond to
MI Programming on the AS400 / iSeries <mi400-Zwy7GipZuJhWk0Htik3J/[email protected]>


To
"MI Programming on the AS400 / iSeries" <mi400-Zwy7GipZuJhWk0Htik3J/[email protected]>
cc

Subject
Re: [MI400] Accessing objects in another job's QTEMP






>The Call Job Interrupt Program API can do pretty much whatever it's
authorized to in the other job. 

I guess what I'm asking is, would it enable a command like ADPQTEMP
(Adopt QTEMP) that's called as:

ADPQTEMP JOB(123456/QUSER/JOBNAME)

It may allow programatic changes, but sometimes it's nice to just have a
command like and qtemp access. Then things like wrkobjpdm and CHGDTAARA
and CLRPFM etc all work.

ADPQTEMP is a command I'd like to see, it's not one I've made (yet <G>)
But it would depend on changing the current job's pointer to QTEMP to
point to a different QTEMP. Is this one of those things that will be
locked up w/the MI changes in V5R4 and beyond?

-Walden



------------
Walden H Leverich III
Tech Software
(516) 627-3800 x3051
[email protected]
http://www.TechSoftInc.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)

_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.


_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.