View previous topic :: View next topic
|
Author |
Message |
Sarfaraz Aziz
New User
Joined: 04 Feb 2011 Posts: 2 Location: Pune
|
|
|
|
Hi,
I have rexx exec which process the members from a PDS and writes them to another PDS. Currently i am displaying the names of processed members using the 'SAY' statement. The problem is after one screenful of information I have to press any key to continue.
To overcome this I am thinking of displaying the name of processed member in a pop up panel. My requirement is once the pop up panel is displayed the member names should keep on displaying in this panel without the requiring to press any key; much like a progress indicator.
Is it possible? |
|
Back to top |
|
|
yugendran
New User
Joined: 14 Dec 2007 Posts: 51 Location: indore
|
|
|
|
I believe its not possible to display the members continuously without pressing any key..
But you can write the processed member list into the sequential file (kinda of report) instead of displaying it.. and display the file at the end of ur processing.. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Why do you care about the member names processed? You dont see them if they scroll off a screen. In your new pds you will see all the members processed. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
refresh is the technical process by which one thoughtlessly wastes resources to provide an update for a process which should be run in batch.
the mainframe is not a pc. every interaction with the terminal is a mainframe resource used, unlike the toys hooked-up to a server. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
The problem is after one screenful of information I have to press any key to continue. |
This is the way mainframes work. Get used to it and stop trying to make the mainframe act like a PC. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
Sarfaraz Aziz wrote: |
I have rexx exec which process the members from a PDS and writes them to another PDS. Currently i am displaying the names of processed members using the 'SAY' statement. The problem is after one screenful of information I have to press any key to continue.
To overcome this I am thinking of displaying the name of processed member in a pop up panel. My requirement is once the pop up panel is displayed the member names should keep on displaying in this panel without the requiring to press any key; much like a progress indicator.
Is it possible? |
Code: |
"ispexec control display lock"
"ispexec addpop row("row") column("col")"
"ispexec display panel(whatever)"
"ispexec control display restore" |
|
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
yugendran wrote: |
I believe its not possible to display the members continuously without pressing any key.. |
Don't waste forum space with "I believe..." statements. You know or you don't know! |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Prino's example is good. But perhaps only display it every 10 seconds or so. The user still see progress, but you use less resources.
Or you could continue to use Say instruction, but issue TSO command to clear the screen every 15 lines. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
Prino's example is good. But perhaps only display it every 10 seconds or so. The user still see progress, but you use less resources. |
no... it' s just perfect , the only thing to take care of is to have it triggered not on time, but on <process> count
Code: |
do indx = 1 to max
process things
if ( indx // <display count> = 0 ) then do
<display the status info
end
end |
|
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
If you get creative with your panel design, you can display a 'work in progress' bar in addition to the member name.
Yes, it's a waste of resources, but it looks cool. |
|
Back to top |
|
|
Sarfaraz Aziz
New User
Joined: 04 Feb 2011 Posts: 2 Location: Pune
|
|
|
|
Hi All,
Thanks for your inputs.
@prino - This is what I was looking for; Thanks |
|
Back to top |
|
|
|