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

put cursor on field with TBDISPL


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

Global Moderator


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

PostPosted: Fri Feb 13, 2009 4:48 am
Reply with quote

I have a table display that also has some fixed fields near the top of
the panel. I tried in vain to put the cursor on one of the fixed fields
by specifying the field name in the TBDISPL call, but was not able to. Is it possible to do?

Also, I also tried .CURSOR, but could not place the cursor in the fixed portion of the panel.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Fri Feb 13, 2009 7:08 am
Reply with quote

Hi Pedro,

I'm assuming you are talking about a fixed portion of one of the table rows, I used this and was able to place the cursor on any of the defined ZVARS
Code:
)INIT                                                           
 .HELP = DBAHELP                                                 
 .ZVARS = '(GERRY,GERRY2,SELECT,VOL#SER,VOL#LOC,DATEIN,TIMEIN, +
            LASTACT)'                                           
 .CURSOR  = DATEIN                                               
 &AMT     = CURSOR                                               
 &SELECT = '_'                                                   


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

Global Moderator


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

PostPosted: Fri Feb 13, 2009 9:50 pm
Reply with quote

No, I am not talking about the table rows. I am talking about variables in the )BODY section of the panel, not the )MODEL section.

And as I said earlier, .CURSOR did not work.
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Sat Feb 14, 2009 1:05 am
Reply with quote

I do this all the time. In the init section I use .CURSOR = fldid
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Sat Feb 14, 2009 5:37 am
Reply with quote

Hi Pedro,

using my example I was able to place the cursor on any variable in the )BODY section of the panel.


Gerry
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 To Unstring spaces in a field COBOL Programming 3
No new posts Help required to reset decimal points... DFSORT/ICETOOL 10
No new posts Sorting Date Field DFSORT/ICETOOL 4
No new posts Inserting into table while open selec... DB2 1
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
Search our Forums:


Back to Top