×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Design question. Why are you running this interactive at all? Why tie up the users terminal for a long running job that can easily be run in batch and let the user go back to work.

On Mon, Aug 29, 2011 at 4:34 PM, Timothy Adair <tadair@xxxxxxxxxxxxxxxx>wrote:

Has anyone found a way to do a simple progress bar in CL? I have a
long-running interactive CL (please don't ask why) and I want to keep
the user informed of the progress. It could be a bar, or just a
simple percent count-up. I've searched the archives and the only
thing I found was Booth Martin's RPG progress bar. A neat piece of
work but it doesn't fit my needs. I'm currently using ten SNDPGMMSG
commands (10%, 20%, etc.) sprinkled throughout the code. Clunky, but somewhat functional.

Maybe I'm dreaming but...
If CL issues (or receives) a return code for every command executed,
is there a way to trigger something after each command, regardless of
the return code? Pretty vague, I know. Sorry about that.

As always, any and all responses are appreciated.

~TA~

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx 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 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-2026 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.