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



Ray, is the QRY interactive? What if you just displayed the report? It seems that the report being displayed is an indication that the query is done <g>. Use DSPSPLF FILE(QPQUPRFIL) SPLNBR(*LAST)

Watch out for performance hits with interactive queries. There's a way to submit a job and know when it's done, not too difficult, but might be a big hammer for a small nail. It involves a job notification exit point -- uses a data queue, sends any ENDJOB activity in a specified subsystem to the queue, you wait on it, check if it's the job you submitted, ignore if not, display report if it is.

Let me know if you want more about the exit point.

HTH

Vern

At 10:29 AM 1/30/2003 -0600, you wrote:
Gentle listers,

I have another lame newbie question:

I was asked to create a CLP that runs a QRY report.  After the report, I'm
supposed to send a program message stating the report is done, and then show
the WRKSPLF screen, so the user can view the spool file online.

I have everything working, but my message to the screen can't be seen
correctly.  If I send the message prior to calling WRKSPLF, the display
happens to fast, if I send the message after calling WRKSPLF, then the
message can't be seen on the WRKSPLF screen (it can be viewed after F3 from
the WRKSPLF screen).

Anyway, if you have some spare time, and there's an easy answer (not 80
lines of CLP), then I'd appreciate the help.   :-)

Ray Shahan


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.