Accessing objects in another job's QTEMP
Rory Hewitt <[email protected]>
| Newsgroups | gmane.comp.lang.as400.mi |
|---|---|
| Message-ID | <[email protected]> |
Bruce Vining wrote: >QWCJBITP will certainly be a significant aid when trying to debug a users >job, fix up some problem in a file of another users job, etc. An >advantage when using this API over previous approaches (such as break >handling programs) is that there is, in general, no need to have some form >of setup run in the "other" job (like allocating a *MSGQ). Bruce, Of course if you use the STRSRVJOB + TRCJOB with an exit program, there's no setup requirement in the target job either. There is some overhead with the servicing stuff, but it's pretty minimal. I use my version of this to get the QTEMP objects of batch server jobs on a daily basis. If anyone else wants the code, send me an email offline (rory dot hewitt at gmail dot com) Rory _______________________________________________ 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.