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

Scroll panel without waiting for user response


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

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Wed Nov 29, 2006 9:29 am
Reply with quote

Hi,
i have developed one panel. I want to display certain information on that panel, but i have only 5 lines available on the panel while the information i want to display is of 20 lines.
Generally when we display panel in rexx using
"ISPEXEC DISPLAY PANEL" (or even with simple SAY), rexx execution halts for response from user, when user presses attn key rexx resumes.
Is it possible to 'scroll' the screen automatically without waiting for user to hit enter ? Means i will display first 5 lines then after a delay of say 2-3 sec, i will display next 5 lines. Can i continue this until user hits enter ??
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Nov 29, 2006 10:01 am
Reply with quote

I think you need to look at the CONTROL DISPLAY LOCK service, with multiple sets of DISPLAY services, followed by an CONTROL DISPLAY RESTORE service.
Back to top
View user's profile Send private message
hsk

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Wed Nov 29, 2006 11:13 am
Reply with quote

That seems to be working for me !!

But one problem ! how can i control the time period after which the new panel to be displayed ?

I tried using WAIT ('SEC',1) .... i think my macro is going in loop
Back to top
View user's profile Send private message
jeetpratap

New User


Joined: 21 Jul 2006
Posts: 5

PostPosted: Wed Nov 29, 2006 11:23 am
Reply with quote

Hi

could you please provide the syntax for CONTROL DISPLAY LOCK service, with multiple sets of DISPLAY services, followed by an CONTROL DISPLAY RESTORE service. OR let me know the internet source for it!

thanks
Back to top
View user's profile Send private message
hsk

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Wed Nov 29, 2006 11:41 am
Reply with quote

Do while ....

"ISPEXEC CONTROL DISPLAY LOCK"
"ISPEXEC DISPLAY PANEL(TEMP)"

END
"ISPEXEC CONTROL DISPLAY RESTORE"
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Nov 29, 2006 11:54 am
Reply with quote

CONTROL is an ISPF Service, and it can be found in IBM's ISPF Services Guide.

O.
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 Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts user exit in IBM Infosphere Optim DB2 8
Search our Forums:

Back to Top