How to position the cursor on a display file at a desired
location.
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
what is the maximum number of parameters allowed in clp?
explain the purpose of keep and assume keywords?
what is rpg fixed logic cycle?
What is the difference between array and a multiple occurrence data structure?
what the purpose of ovrdta, ovrata keywords?
how will you find a string using pdm?
1)In a pf if we delete a record then how to insert a new record at the same place in that pf?? any logic or code? 2)A batch job is taking a lot of time to run,found that it is going into loop and wrapping up so how to skip that loop and process the job without changing the code? 3)In which scenario C D I R comes and C D G F comes in a job? 4)If a job came to error while processing a file how we can know at which record the error hit and how to skip that record and process other records without changing program code?
what is flatfile?what is the use of this file?where we can use usualy?what is the advantage of this?
where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?
what is the difference between *like and *namvar ?
what is code for reading member in rpgle when wehave like extmbr(*all) so we have 3 members in *all then i want to read first record in 2member
What does the keyword UNIQUE mean ?