MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Keylist

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
danm
Intermediate


Joined: 29 Jun 2004
Posts: 170
Topics: 73

PostPosted: Fri Nov 11, 2005 12:06 pm    Post subject: Keylist Reply with quote

Code:

I create a help panel HELPPAN with scrollable area:
)PANEL KEYLIST (KEYSCR APPL)
)ATTR DEFAULT(%+_)
    } AREA(SCRL) EXTEND(ON)
)BODY EXPAND(\\)
+COMMAND ==>_CMD                                          +
%\ \Title of panel\ \
}AREA1
)AREA AREA1
   Line 1...
   Line 2...
   ....
   ....
   Line 100
)END


Keylist KEYSCR is defined as:
Key     Definition                             Format  Label
F1 . . .                                                       
F2 . . .SPLIT                                    LONG   Split   
F3 . . .EXIT                                     SHORT  Exit   
F4 . . .                                                       
F5 . . .                                                       
F6 . . .                                                       
F7 . . .LEFT                                      SHORT  PrvPage
F8 . . .RIGHT                                   SHORT  NxtPage
F9 . . .SWAP                                    LONG    Swap   
F10  . .                                             
F11  . .   
F12  . .CANCEL                                SHORT  Cancel 


In panel ABC, I define HELPPAN as the help panel as well as an action:
)PANEL KEYLIST (KEYABC APPL)
 .......
)BODY
 .....
 @ Action1 @ Action2.... @ Help
)INIT
  .HELP = HELPPAN         
  ......


REXX Code to display HELPPAN from action bar:
     If ZCmd = 'HELPPAN' then do
       Address ISPEXEC "DISPLAY PANEL(HELPPAN)"
     End

I press PF1 on the ABC panel, the HELPPAN panel is displayed. When I press PF7 and PF8, the text is scrolled forward and backward correctly.

When I select the action help from the action bar, the HELPPAN panel is displayed. However, when I press the PF7 and PF8 key, I got the "LEFT is not active" and "RIGHT is not active" error message. If I change the PF7 and PF8 definition to "UP" and "DOWN" in the KEYSCR keylist, then the scrolling works again.

How can I make the HELPPAN work via the action bar without changing the definition of PF7 and PF8?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Nov 11, 2005 12:37 pm    Post subject: Reply with quote

danm,

Did you look at this topic ?

http://www.mvsforums.com/helpboards/viewtopic.php?t=2807&highlight=keylist

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
danm
Intermediate


Joined: 29 Jun 2004
Posts: 170
Topics: 73

PostPosted: Fri Nov 11, 2005 1:20 pm    Post subject: Reply with quote

Kolusu,

Yes, I did a search before posting my question. The problem is the PF7 and PF8 keys defined on the keylist KEYSCR works when using PF1 to display the HELPPAN panel, but doens't work when display HELPPAN via action bar.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group