Hi,
Can anybody give me real sinario for SFLRCDNBR?with
example?
Answers were Sorted based on User's Feedback
Answer / guest
This keyword allows us to specify what page we have to
display when the program issues the write or EXFMT screen.
For example subfile size is 35 & subfile page is 10 and at
anypont we have to dispaly 33th record directly.
For it we have to add one line in display file.
A var-name size dec.position use Function
A var 4 0 H SFLRCDNBR
where var will be a hidden field and we just assign the
value of Relative record number(RRN) to this var. by
C Z-ADD RRN var.
then it display the correspond record no.
| Is This Answer Correct ? | 13 Yes | 3 No |
Answer / reecha bhandari
SFLRCDNBR is useful to display errors on particular page
example:
Suppose SFLPAG = 10 and if the error occurs at line 25 ,
then when u press enter the page runs by default to 1 page
if u r not using SFLRCDNBR.
if u want that only that page comprising error sud be
displayed then mov ethe value of RRN to this keyword.
| Is This Answer Correct ? | 6 Yes | 3 No |
1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?
Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?
What are the necessary keywords required to code a message subfile?
what are the parameters of jobd?give in detail.&what are the parameters of subsystem...????
Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?
Errors in Sql query will be in which state?
I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.
how do I do concatenation in rpg iv, like I do in cl?
How Commitment and Roll back control is used in as400, explain with real time senario ???
please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?
parameters cannot be passed in which one???
How can a screen field that has changed since the last output operation be detected?