Scrolling options in REXX



IBM's Command List programming language & Restructured Extended Executor

Scrolling options in REXX

Postby mfguy » Fri Oct 08, 2010 12:35 pm

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.
mfguy
 
Posts: 7
Joined: Mon Aug 23, 2010 5:20 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Scrolling options in REXX

 

Re: Scrolling options in REXX

Postby enrico-sorichetti » Fri Oct 08, 2010 1:45 pm

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
??? ??? ???
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: Scrolling options in REXX

Postby mfguy » Fri Oct 08, 2010 2:55 pm

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.
mfguy
 
Posts: 7
Joined: Mon Aug 23, 2010 5:20 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Scrolling options in REXX

Postby enrico-sorichetti » Fri Oct 08, 2010 5:54 pm

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???
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: Scrolling options in REXX

Postby mfguy » Fri Oct 08, 2010 6:14 pm

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
mfguy
 
Posts: 7
Joined: Mon Aug 23, 2010 5:20 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Scrolling options in REXX

Postby enrico-sorichetti » Fri Oct 08, 2010 6:21 pm

why don' t You simply invoke browse ?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: Scrolling options in REXX

Postby NicC » Fri Oct 08, 2010 11:47 pm

Yes, select your data, write to temporary file and browse that. Rexx has no scrolling options - you would have to hand code it yourself.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: Scrolling options in REXX

Postby enrico-sorichetti » Sat Oct 09, 2010 1:05 am

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>
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: Scrolling options in REXX

Postby expat » Mon Oct 11, 2010 2:13 pm

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.
expat
 
Posts: 382
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 1 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post