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.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using composite key which rpg code used?
why subproc not run in dftactgrp?????/plz explain
WHERE DO WE USE COMIT KEYWORD IN AN RPG PROGRAM? YOU MADE SOME CHANGES TO DATABASE BUT YOU DON'T WANT TO SAVE THOSE CHANGES NOW? HOW DO YOU HANDLE THIS ONE?
How to sort an array in descending in RPG
What is the Record Address file. How can we use it in RPG program?
how can i retrieve the field name from display file at run time? Devendra Singh Tomar
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....?
In a particular program one file is used where override command is applied to a file, now this program calls another program where we want to use the same file but without override.How it can be done?
How to declare the more than one file in cl/400.
Why did we give STRSRVJOB while debugging batch program
what is the difference between the procedure and module in ILERPG?
what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code