× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



>you don't want to mess with the changing your job,
>you can just copy the pointer and use that to after
>the objects in the library pointed to.

True. But for mere mortal programmers like me that don't want to live in
MI-land all the time, it would be easier to call 'Adopt QTEMP':

ADPQTEMP (123456/USER/JOB)

Which would drop me at a command prompt. From here I could use the 'normal'
OS/400 commands to work with qtemp. Things like 'WRKOBJPDM' and 'DSPLIB' and
even call programs that use objects in QTEMP. I know I could screw up the
other job, but I as the programmer should take that responsibility.

This 'command prompt' would have a exit handler that would reset the QTEMP
pointer so I can't screw up things.

-Walden

------------
Walden H Leverich III
President
Tech Software
(516) 627-3800 x11
(208) 692-3308 eFax
WaldenL@TechSoftInc.com
http://www.TechSoftInc.com

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



-----Original Message-----
From: Leif Svalgaard [mailto:leif@leif.org]
Sent: Thursday, October 03, 2002 19:05
To: mi400@midrange.com
Subject: Re: [MI400] Displaying objects in other job's QTEMP library


From: Walden H. Leverich <WaldenL@TechSoftInc.com>
> I'm sure I know the answer to this (you can't) but... Could you change
> the address of "your" QTEMP pointer in the WCB (and elsewhere?) to the
> address of another QTEMP and then you would have access to that QTEMP
> as if it was yours?

you don't want to mess with the changing your job, you can just copy the
pointer and use that to after the objects in the library pointed to.

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


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.