Re: Accessing objects in another job's QTEMP
Bruce Vining <bvining-r/[email protected]>
| Newsgroups | gmane.comp.lang.as400.mi |
|---|---|
| Message-ID | <OF9692D66D.1C16E0C5-ON86257116.007D2556-86257116.007DCBE4@us.ibm.com> |
Rory, In the V5R4 Memo to Users there is a section titled Changes to Trace commands. The first paragraph is: In V5R4, the Trace Job (TRCJOB) command was changed to run the Start Trace (STRTRC), End Trace (ENDTRC), and Print Trace (PRTTRC) CL commands that were added to the operating system in V5R1. Because there is no equivalent function on the STRTRC command, the Program to call before trace (EXITPGM) and Select procedures to trace (SLTPRC) parameters are not supported. Any values specified for these parameters are ignored. You might need to change any CL programs that used the TRCJOB command and specified the EXITPGM or SLTPRC parameters. Bruce Vining Rory Hewitt <[email protected]> Sent by: mi400-bounces-Zwy7GipZuJhWk0Htik3J/[email protected] 02/15/2006 03:57 PM Please respond to MI Programming on the AS400 / iSeries <mi400-Zwy7GipZuJhWk0Htik3J/[email protected]> To mi400-Zwy7GipZuJhWk0Htik3J/[email protected] cc Subject [MI400] Accessing objects in another job's QTEMP 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. _______________________________________________ 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.