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 friends,
I am using a load all subfile , and currently i am in in
the third page of the subfile , from third page i have
selected a record and called some other program .on
returning, subfile is being loaded from the frist page. so
can any one kindly suggest me in retaining my third page
after returning. i.e loading from third page.

Answers were Sorted based on User's Feedback



Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfi..

Answer / karthik

Get the rrn when the record is selected and while returning
back to the load subfile, user this rrn for display or load
records starting from the selected rrn. Let me know if u
need more clarity

Good luck!!!

Karthik

Is This Answer Correct ?    12 Yes 1 No

Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfi..

Answer / tthomas

Its just because ur rrn is getting initialized again.. get
the rrn of the first record in the third page and display
it.

Is This Answer Correct ?    7 Yes 0 No

Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfi..

Answer / guru

Hi Friend,

Use SFLRCDNBR to achieve this in load all subfile or if you
are using load on demand (SIZE > PAGE) then clear the page
every time and load the specific page you want.

Is This Answer Correct ?    7 Yes 2 No

Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfi..

Answer / mithun paul

Before call the program store the rrn and after retuning
from the program move that rrn number to variable of
SFLRCDNBR and write the subfile. It shows the subfile in
that particular page not the first page.

Mithun Paul
KMG Infotech, Kolkata

Is This Answer Correct ?    5 Yes 0 No

Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfi..

Answer / ld123q44

Just before you make the call make a note of (a) the
relative record number of the first record on the page and
(b) the relative record number of the record you are making
the call from.
Now, when you to redisplay the page after the call you can
start the display either from rrn from (a) from rrn from (b).

Is This Answer Correct ?    2 Yes 0 No

Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfi..

Answer / jay

you may use SFLCSRRRN to know the record in which the
cursor was lying when the control came to program

Is This Answer Correct ?    3 Yes 1 No

Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfi..

Answer / pankaj

You have to get the SFLRCDNBR number when the record from
subfile is select. and when you comeback to it will show
third page as a first page and by doing page up/down you
can see other records.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More RPG400 Interview Questions

How I can reread the physical file in CL program once the end of file reached in same CL program.

20 Answers   IBM,


What is the difference between RPG/400 and RPG4

1 Answers   HCL,


steps involved in debugging and types of debugging modes?

1 Answers  


how do you use commitment control in rpg?

0 Answers   IBM,


what is file identifier wher we can use

1 Answers   IBM,


program to find the number of objects used in a given program through a display.

2 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,


What is the significance of UDATE?

5 Answers   IBM,


Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks

3 Answers  


Can anybody tell me the setps to create .csv file in IFS folder on AS/400. I also need to know how I can send this .csv file to PC in xls sheet.....?

2 Answers  


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

0 Answers   CTS,


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

2 Answers   CSC,


Categories