185 pts.
 How To get The Cursor position on particular field?
My display File Contains three Fields as like

name= ........

 Roll =........

 Marks=.......

 But In that Case when Program Call, First Cursor Pos On name When Name Will Enter Roll No will Automaticalyy Disply. But I have To Modify Marks Field,,, So When I will Enter Name After That I want To cursor On Mark Field So how can i do this? (In Dislpay File Any Keyword for cursor plz mention in detail )



Software/Hardware used:
ASKED: July 27, 2010  10:28 AM
UPDATED: July 28, 2010  2:41 PM

Answer Wiki:
The display attribute DSPATR(PC) position cursor might be what you're after It would be placed as a keyword for the input field, on the same line as the input field If you want to be able to turn it on/off put it on a line after the field with an indicator 45 DSPATR(PC) when 45 is set on in your program the cursor will be shown in this field. Phil
Last Wiki Answer Submitted:  July 27, 2010  11:35 am  by  philpl1jb   44,630 pts.
All Answer Wiki Contributors:  philpl1jb   44,630 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Another option would be to use the following:

A                                      CSRLOC(ROW        COLUMN)
A                                      RTNCSRLOC(&FORMAT &FIELD)
A            ROW            3S 0H                               
A            COLUMN         3S 0H                               
A            FORMAT        10A  H                               
A            FIELD         10A  H

You don’t need to keep track of indicators.

 5,730 pts.