Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Displaying continous output in panel (progress indicator)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Displaying continous output in panel (progress indicator)
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    Post subject: Reply to: Displaying continous output in panel (progress ind
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Feb 24, 2011 3:34 pm    Post subject:
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    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Thu Feb 24, 2011 4:17 pm    Post subject:
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

Active Member


Joined: 07 Feb 2009
Posts: 982
Location: Oostende, Belgium

PostPosted: Thu Feb 24, 2011 4:22 pm    Post subject: Re: Displaying continous output in panel (progress indicator
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

Active Member


Joined: 07 Feb 2009
Posts: 982
Location: Oostende, Belgium

PostPosted: Thu Feb 24, 2011 4:25 pm    Post subject: Re: Reply to: Displaying continous output in panel (progress
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

Senior Member


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

PostPosted: Thu Feb 24, 2011 8:21 pm    Post subject: Reply to: Displaying continous output in panel (progress ind
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Thu Feb 24, 2011 8:25 pm    Post subject: Reply to: Displaying continous output in panel (progress ind
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: 641
Location: Whitby, ON, Canada

PostPosted: Thu Feb 24, 2011 11:58 pm    Post subject:
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    Post subject: Reply to: Displaying continous output in panel (progress ind
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm
This topic is locked: you cannot edit posts or make replies. output data in CSV Format janmejay DFSORT/ICETOOL 3 Sat Oct 15, 2016 2:16 pm
No new posts ICETOOL/SYNCSORT - SYSPRINT output nartcr DFSORT/ICETOOL 17 Wed Oct 05, 2016 10:46 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us