How to position the cursor on a display file at a desired
location.

Answers were Sorted based on User's Feedback



How to position the cursor on a display file at a desired location...

Answer / swadesh

One way is, go to display attribute property of display
file and position the cursor on desire fields by
DSPATR(PC).cursor will be set on that field.

Is This Answer Correct ?    17 Yes 4 No

How to position the cursor on a display file at a desired location...

Answer / bharat

There is a keyword CSRLOC(F1 Row C1 Col), you have to
specify the location(which row or column). The system
positions the cursor before the output operation is
performed on the record that is being specified.

Is This Answer Correct ?    10 Yes 1 No

How to position the cursor on a display file at a desired location...

Answer / bharat

Bhupendra: as per your answer: SFLCSRRn is used to retrieve
the rrn of the record on which cursor is placed on the
subfile.

Is This Answer Correct ?    4 Yes 1 No

How to position the cursor on a display file at a desired location...

Answer / venkat

Agree with answer #3, you have to define CSRLOC(F1 Row C1
Col)in the display file. and the value for F1 Row and C1
Col will be passed in the program. (the desired location-
which column and which row)

Is This Answer Correct ?    3 Yes 0 No

How to position the cursor on a display file at a desired location...

Answer / bhupendra tomar

i am not sure but there are keywords like CURLOC or in case
of subfile SFLCSRRRN nothing else

Is This Answer Correct ?    4 Yes 4 No

Post New Answer

More IBM AS400 AllOther Interview Questions

What command must be executed before executing OPNQRYF command?

1 Answers  


How to reverse the string in rpg

0 Answers  


How do I remove a flag or check no. or name when a user opens too many sessions?

0 Answers  


what are activation group and what are its types.?

2 Answers   IBM,


what does opcode post do ?

1 Answers   IBM,






What is FCFO, FIFO, LIFO in Database environment ?

1 Answers  


. How to know why the OPM job is in MSGWAIT state?..WHAT COULD BE THE REASON FOR it?

1 Answers   Wipro,


load all subfile logic in sqlrpgle and when updating particular record it must be lock form other jobs (not a file)?

1 Answers   Wipro,


What is the difference between crtdupobj and copyf?

0 Answers  


What is left outer join?

2 Answers  


how can I control from my cgis the cache of a remote browser?

0 Answers   IBM,


How do you grant authority?

1 Answers  


Categories