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

how do u track msg in cl pgm???

1 Answers   CTS,


The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?

6 Answers  


what are the array operations?

1 Answers   IBM,


I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this

3 Answers   ISG,


check existence of one record without using chain or read?

1 Answers   IBM,


what procedure should we use to find whether the following operations are successful or not setll setgt chain read reade readp pls tell with example i'm not lazy to read the manual or not lazy to do anything.but sometimes i cannot understand the things given in manual in high level english its little bit complicated for me,i can't understand their way of writing thats why i ask these questions here and find the solution in simple words that i can understand thats the real reason sir.sorry if i had hurt you or disturbed you.please understand my situation.

5 Answers   iGate,


1.Are there any errors in the following statement?If so then list them.DTAARA is a data area having a field EMP # and EMPNO is a field in the file EMPPF.Which has one record. READ EMPPF IF %FOUND(EMPPF) IN DTAARA EVAL EMP#=EMPNO OUT DTAARA ENDIF

5 Answers  


I know chain keyword retreive records randomly but how chain keyword exactly works internally????

4 Answers  


If there are 1000 member(PGM type) in a SRC file. How can we compile in a CL program? ( It need to be done in a loop)?

1 Answers  


Can someone tell me tell me what is meant by message wait...?

1 Answers  


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

0 Answers  


How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.

2 Answers  


Categories