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

How to make the text fields tab enabled on the ISPF panel?


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

New User


Joined: 18 Jan 2008
Posts: 47
Location: India

PostPosted: Wed Apr 15, 2009 2:42 pm
Reply with quote

I have coded the below code(The alignment is disturbed here, the already existing tab/space is ignored):

Code:
)PANEL KEYLIST(ISRHELP ISR)                                             
)ATTR                                                                   
  @ TYPE(TEXT) INTENS(HIGH) COLOR(GREEN) SKIP(ON)                       
  $ TYPE(INPUT) INTENS(LOW) COLOR(BLUE)                                 
)BODY                                                                   
%----------------------QHTOOL HELP PANEL-------------------------------%
%COMMAND ====> _ZCMD                                                   %
+%OPCODE LIST%                                                         +
+@CONST+             @*+                 @IF+                @HOLDP+   +
+@END-CONST+         @ACTY+              @ELSE+              @READ+    +
+@VAR+               @MOVE+              @END-IF+            @READF+   +
+@END-VAR+           @ADD+               @SECTION+           @READL+   +
+@PRINT+             @SUB+               @PERFORM+           @READEQ+  +
+@END-PRINT+         @MUL+               @GOTO+              @READGE+  +
+@INCL+              @DIV+               @EXIT+              @WRITE+   +
+@INIT+              @STOP+              @NOOP+              @DISPLAY+ +
+   
                                                        @PRINTLN+ +

)END


The panel is shown like this:
Code:

----------------------QHTOOL HELP PANEL------------------------------         
COMMAND ===>                                                                   
 OPCODE LIST                                                                   
 CONST               *                   IF                  HOLDP             
 END-CONST           ACTY                ELSE                READ             
 VAR                 MOVE                END-IF              READF             
 END-VAR             ADD                 SECTION             READL             
 PRINT               SUB                 PERFORM             READEQ           
 END-PRINT           MUL                 GOTO                READGE           
 INCL                DIV                 EXIT                WRITE             
 INIT                STOP                NOOP                DISPLAY           
                                                             PRINTLN           

Currently, the cursor remains at the command line only. My requirement is when I press tab, the cursor should come at the first position of other variable and so on.

For instance on pressing tab first time the cursor should come to 'CONST', if I press tab again it should come to '*' and then to 'IF' and so on.

Please help.

Thanks,
Pragati
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Apr 15, 2009 6:57 pm
Reply with quote

How do you want the cursor to tab to a text-defined strings?

O.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2624
Location: Silicon Valley

PostPosted: Wed Apr 15, 2009 7:19 pm
Reply with quote

Try making all of the text data into output fields, with attribute ( TYPE(OUTPUT) )

Assign values to the variable output fields so that it looks like your intended panel.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts COBOL Text Adventure Engine for TK4- ... COBOL Programming 0
No new posts Question regarding ISPF tables with T... TSO/ISPF 11
No new posts Make job wait until submitted job is ... JCL & VSAM 4
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts Partial Sort conditions for PD fields DFSORT/ICETOOL 16
Search our Forums:


Back to Top