|
I like the display-the-report idea, but I'm supposed to show the WRKSPLF screen with the "report done" message. Ray Shahan "Life is what happens while you're busy making other plans", John Lennon > -----Original Message----- > From: Vern Hamberg [SMTP:vhamberg@centerfieldtechnology.com] > Sent: Thursday, January 30, 2003 3:44 PM > To: Midrange Systems Technical Discussion > Subject: Re: Newbie question > > 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 > > > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing > list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l > or email: MIDRANGE-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l.
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.