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



hehe...don't sweat it Booth...a lot has changed in 7 years....

Thanks,
Tommy Holden




Booth Martin <booth@xxxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
04/24/2007 09:25 AM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc

Subject
Re: QRY400 Status Message Technique






Are you looking for a progress bar? Here's a link with 7 year-old code,
but I am sure you can update it and use it, if it is what you are
looking for. It is RPG, not CL, but perhaps you can figure out a way?

http://www.martinvt.com/Code_Samples/Progress_Bar/progress_bar.html
or
*http://tinyurl.com/d28hf

Gads, that code is terrible! I can't believe I ever wrote anything like
that, and its only 7 years old. ah well, there it is if you can use it.

*c.chambers@xxxxxxx wrote:
Rob,


I was using the CPYF only as an example. You got it right though when
you suggested I could put in a sliding bar - that is what I'm ultimately
trying to achieve.

At a more general level - let me try and explain the conundrum again :

how can I kick off a command in a CL program and then monitor the
progress of that command and show that to the user - is there some magic
technique or do I have to rewrite the command in a high level language
and output appropriate message at each record count ? Is this what QRY +
OPNQRYF is effectively doing ?

Chris Chambers


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.