Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Hi,

Can anybody give me real sinario for SFLRCDNBR?with
example?

Answers were Sorted based on User's Feedback



Hi, Can anybody give me real sinario for SFLRCDNBR?with example?..

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

Hi, Can anybody give me real sinario for SFLRCDNBR?with example?..

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

Post New Answer

More RPG400 Interview Questions

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?

3 Answers   HSBC,


why subproc not run in dftactgrp?????/plz explain

2 Answers   CSC,


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?

2 Answers  


How to sort an array in descending in RPG

3 Answers   Google, TCS,


What is the Record Address file. How can we use it in RPG program?

4 Answers  


how can i retrieve the field name from display file at run time? Devendra Singh Tomar

3 Answers  


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....?

6 Answers   HSBC,


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?

6 Answers   Hexaware,


How to declare the more than one file in cl/400.

13 Answers   IBM,


Why did we give STRSRVJOB while debugging batch program

3 Answers   HBL Power Systems,


what is the difference between the procedure and module in ILERPG?

4 Answers  


what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code

2 Answers   IBM,


Categories