× 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.



On 10-Sep-2014 11:54 -0500, RPGLIST wrote:
On Wednesday, September 10, 2014 9:02 AM CRPence wrote:

On 09-Sep-2014 16:15 -0500, RPGLIST wrote:

I'm running a program in batch and debugging it with a service
entry point, is there a way to see those files in QTEMP and the
respective records? I can't seem to see them.

<<SNIP comments re both changing application and RtgE to enable>>

See also the following two messages authored by Bruce Vining; they
should elucidate an earlier response from Vern, though possibly no
more than the information\link provided by Carsten:

<http://archive.midrange.com/mi400/200602/msg00037.html>

<http://itknowledgeexchange.techtarget.com/itanswers/trace-job-trcjob/>
"... exit point called QIBM_QWC_JOBITPPGM and the Call Job
Interrupt Program (QWCJBITP) API. ... sample program demonstrating
this capability in my
<http://www.brucevining.com/Presentations/PPT_Presentations/Whats_new_in_system_APIs.pdf>
_What's New in System APIs_ presentation. ..."

The problem is this is part of a web service and there is no way I
know of to debug a web service other than through a service point
entry.... that still does not allow me the ability to see what is in
the files.

There is nothing about either a web service or the use of SEP debug that would vitiate any of what was suggested; though the efficacy of Routing Data for establishing IPC likely would be challenged. Both [re]designing the /batch/ application to use a library other than QTEMP [if the job is or will be serviced\debugged] and using the QWCJBITP API will enable an ability to access the data in the objects in the QTEMP of the serviced job.

Note: the QWCJBITP API effectively was a replacement for the EXITPGM() function available prior via the old Trace Job (TRCJOB) feature that was since eliminated; the API provided an alternative with greater capabilities and controls to help ensure system integrity.

Obviously for an existing job, [re]designing the application is not an option, thus looking to the API would seem more apropos.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.