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 is the maximum number of subroutines allowed in rpg?

1 Answers   IBM,


what is the clp command to access a query/400?

1 Answers   IBM,


WHAT IS DECIMAL DATA ERROR IN RPG IV...WHEN WILL IT HAPPENS?

6 Answers   CTS,


what is the purpose of overrides?

1 Answers   IBM,


what is the command to know key fields of file?

0 Answers   IBM,






what is elastic and non elastic subrile?

0 Answers   IBM,


What is the benefit of using Externally Described files over Internally Described?

19 Answers   IBM, Patni,


What is the purpose of CHGPF (Change physical file) command?

1 Answers  


How to avoid using indicators in ile ?

0 Answers   IBM,


why we use binding directory and service pgm

4 Answers   TCS,


how to write *pssr ?

0 Answers   IBM,


Hi i have one question In my srvpgm one module ADDM is there now i want to add new module i.e SUBM , please answer me IN STEPS how to write bndlanguage and how it was attach to SRVPGM

2 Answers   IBM, Satyam,


Categories