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

How to pick the position of a cursor


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

New User


Joined: 01 Mar 2007
Posts: 39
Location: Chennai

PostPosted: Thu Jul 05, 2007 12:03 am
Reply with quote

Can anyone tell me how to pick the position of a cursor when the dataset in browse mode.

I used ISREDIT macro and i tried in view mode and it is working fine but i want to know the position of a cursor when the dataset is in browse mode.

thanks,
Ugandar
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Jul 05, 2007 11:04 am
Reply with quote

Try the ISPF variale ZSCREENC. It contains the cursor position within the logical screen data.

For example: ADDRESS ISPEXEC "VGET ZSCREENC".

There are few examples in Google.

O.
Back to top
View user's profile Send private message
ug123
Warnings : 1

New User


Joined: 01 Mar 2007
Posts: 39
Location: Chennai

PostPosted: Sat Jul 07, 2007 12:02 am
Reply with quote

Hi,

2 days of my analysis has been reduced to 2 min of coding by ur one line of code.

Thank you very much
Ugandar...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
No new posts compare two file to find position/dat... SYNCSORT 2
No new posts Group selective VB records - Trailer ... DFSORT/ICETOOL 16
No new posts Is SQLCODE -811 possible while fetchi... DB2 1
Search our Forums:

Back to Top