1) Can i use array inplace of variables.i.e. instade of using LIN1,LIN2, can i use LIN(100)
2) I have 100 member and the panel can display only 10 members at a time,so i want to eanle PF7/PF8 keys for this panel.
That means when user presses PF8 - next 10 members should be displayed and when user presses PF7 - previous 10 members should be displayed.
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
heramb wrote:
1) Can i use array inplace of variables.i.e. instade of using LIN1,LIN2, can i use LIN(100)
No, each variable must be defined separately.
heramb wrote:
2) I have 100 member and the panel can display only 10 members at a time,so i want to eanle PF7/PF8 keys for this panel.
That means when user presses PF8 - next 10 members should be displayed and when user presses PF7 - previous 10 members should be displayed.
A. Why not use a table for all 100 members and display with a TBDISPL command instead? The variables for each row only need to be defined once.
B. Why not make the one panel scrollable to show all 100 members?
C. It would be much easier to use standard ISPF navigation:
PANEL1 - press Enter (rc=0) to go to PANEL2 or END (rc=8) to exit out.
PANEL2 - press Enter (rc=0) to go to PANEL3 or END (rc=8) to return to PANEL2.
....
PANEL10 - press Enter (rc=0) results in no action. Enter END (rc=8) to return to PANEL9, and so on, back to PANEL1.