IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Displaying continous output in panel (progress indicator)


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sarfaraz Aziz

New User


Joined: 04 Feb 2011
Posts: 2
Location: Pune

PostPosted: Thu Feb 24, 2011 3:20 pm
Reply with quote

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
View user's profile Send private message
yugendran

New User


Joined: 14 Dec 2007
Posts: 51
Location: indore

PostPosted: Thu Feb 24, 2011 3:26 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Feb 24, 2011 3:34 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Feb 24, 2011 3:44 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Feb 24, 2011 4:17 pm
Reply with quote

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
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Thu Feb 24, 2011 4:22 pm
Reply with quote

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
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Thu Feb 24, 2011 4:25 pm
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Thu Feb 24, 2011 8:21 pm
Reply with 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.

Or you could continue to use Say instruction, but issue TSO command to clear the screen every 15 lines.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Feb 24, 2011 8:25 pm
Reply with quote

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
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Thu Feb 24, 2011 11:58 pm
Reply with quote

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. icon_cool.gif
Back to top
View user's profile Send private message
Sarfaraz Aziz

New User


Joined: 04 Feb 2011
Posts: 2
Location: Pune

PostPosted: Fri Feb 25, 2011 10:55 am
Reply with quote

Hi All,

Thanks for your inputs.

@prino - This is what I was looking for; Thanks
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts IBM OnDemand Folders displaying to al... IBM Tools 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
Search our Forums:

Back to Top