Page 1 of 1

Scrolling options in REXX

PostPosted: Fri Oct 08, 2010 12:35 pm
by mfguy
Hi all,
I need to implement the UP and DOWN scrolling options in REXX. Can u help me with a sample code.
I have to display data that will be more than the display screen. So i am in need to implement the UP and
DOWN scrolling.

Re: Scrolling options in REXX

PostPosted: Fri Oct 08, 2010 1:45 pm
by enrico-sorichetti
not a rexx related issue... YET
explain exactly what You want to do

are You browsing a dataset
are You trying to display a table
what is the source of Your data
??? ??? ???

Re: Scrolling options in REXX

PostPosted: Fri Oct 08, 2010 2:55 pm
by mfguy
Hi Enrico

I am trying to display the error explanations for a given error code(for debugging purpose). Some error explanations are lengthy and i hve to display it using
scroll UP and DOWN features. The source data is stored in a PS file. This is wat i am trying to do Enrico.

Re: Scrolling options in REXX

PostPosted: Fri Oct 08, 2010 5:54 pm
by enrico-sorichetti
as I already told before scrolling up/down is not a REXX issue
until You have explained what You are tyrying to do

The source data is stored in a PS file.

look like there is a language barrier here
what do You mean by source data???

Re: Scrolling options in REXX

PostPosted: Fri Oct 08, 2010 6:14 pm
by mfguy
Source data means the error code explanations that i have stored in a PS file along with Error Code. I wil retrieve the error explanation from this PS file based on the error code given and display in the REXX screen. the explanation that i am retrieving is longer than the screen . So i have to implement the scrolling features

Re: Scrolling options in REXX

PostPosted: Fri Oct 08, 2010 6:21 pm
by enrico-sorichetti
why don' t You simply invoke browse ?

Re: Scrolling options in REXX

PostPosted: Fri Oct 08, 2010 11:47 pm
by NicC
Yes, select your data, write to temporary file and browse that. Rexx has no scrolling options - you would have to hand code it yourself.

Re: Scrolling options in REXX

PostPosted: Sat Oct 09, 2010 1:05 am
by enrico-sorichetti
from the description of the mumbo jumbo looks like the TS has a PS containing all the messages
some of them are very long and need scrolling
Instead of a PS with the messages all junked up, I would use
a pds where each member would contain a single message
should be fairly easy to invoke browse given the <message identifier>

Re: Scrolling options in REXX

PostPosted: Mon Oct 11, 2010 2:13 pm
by expat
Also, it may be a good idea to use the correct terminology.

I have yet to see a REXX screen, however I have seen thousands of ISPF panels.