|
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 <roryhewitt@xxxxxxxxx> Sent by: mi400-bounces@xxxxxxxxxxxx 02/15/2006 03:57 PM Please respond to MI Programming on the AS400 / iSeries <mi400@xxxxxxxxxxxx> To mi400@xxxxxxxxxxxx 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@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/mi400 or email: MI400-request@xxxxxxxxxxxx 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 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.