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


i want to display the 10000 record in a subfile by using
loadall , can we do it?

Answers were Sorted based on User's Feedback



i want to display the 10000 record in a subfile by using loadall , can we do it?..

Answer / mithun paul

We can't display the 10000 records in a subfile by using
load-all. Because, in the case of load-all subfile, system
take care the Page-Up and Page-Down request for up to 9999
records.But byond 9999 records system can't take care the
Page-Up and Page-down request and program crases.

In this case we have to use single page subfile, where we
have to write code for Page-up and Page-down and it will
process any number of records.


Mithun Paul
KMG Infotech
Kolkata

Is This Answer Correct ?    44 Yes 1 No

i want to display the 10000 record in a subfile by using loadall , can we do it?..

Answer / reshma

No
We Cant load 10000 records through Loadall Subfile
for that we 'll have to use Single page subfile.


Regards
Reshma

Is This Answer Correct ?    17 Yes 3 No

i want to display the 10000 record in a subfile by using loadall , can we do it?..

Answer / kalyan

can i clear the 9999 records and add another 9999 records
into subfile(load all)?
is it possible in Load all?

Is This Answer Correct ?    11 Yes 2 No

i want to display the 10000 record in a subfile by using loadall , can we do it?..

Answer / amit

KALYAN , YES YOU CAN DO IT UNLIMITED TIME THIS BUT THERE IS
A CONDITION THAT AT A TIME YOU ONLY CAN LOAD 9999 RECORDS
IN A LOAD ALL SUB FILE.COZ RRN 'S SIZE IS 4,0( RRN-RELATIVE
RECORD NUMBER) WHICH CAN CONTAIN AT MAX UPTO 9999. FOR
LOAD ALL SUBFILE YOU CAN CLERE ANY TIME AND CAN LOAD NEXT
9999RECORDS INTO .FOR THIS YOU HAVE TO SET RRRN 9999 TO
RRN - 1 FROM THIS POINT YOU WILL START AGAIN LOADING.

cheers
Amit

Is This Answer Correct ?    12 Yes 3 No

i want to display the 10000 record in a subfile by using loadall , can we do it?..

Answer / b....

Mithun Paul of KMG is 100% correct...

Is This Answer Correct ?    11 Yes 4 No

i want to display the 10000 record in a subfile by using loadall , can we do it?..

Answer / kartheek

for a subfile.... we can display at most "9999" RCDS ONLY...

Is This Answer Correct ?    3 Yes 0 No

i want to display the 10000 record in a subfile by using loadall , can we do it?..

Answer / jitender chandel

Hi
First thing is that u can’t load more than 9999 at a time at
all.
and this is the limitation in Load all subfile
If yout pf contain mote than 9999 records and you want to
display all the records in load all subfile then you have to
do some changes in your load subroutine of your rpg pgm.
In the load subroutine
if RRN > 9999 then it make rrn = 1 then it again load the
subfile

Jitender Chandel

Is This Answer Correct ?    3 Yes 1 No

i want to display the 10000 record in a subfile by using loadall , can we do it?..

Answer / vivek dwivedi

Hi,

This is not possible. Reason is that --> Load all subfile load the records of the file to subfile buffer at compile time. So in this can not clear the subfile buffer at all.
You can do in Expanding subfile. Because Expanding subfile loading the record to buffer as per sflsize and page down handle by programmer so that programmer can clrsfl .

Hope you understand.
Thanks
Vivek

Is This Answer Correct ?    0 Yes 0 No

i want to display the 10000 record in a subfile by using loadall , can we do it?..

Answer / ravikumar

Yes.. It is possible.

With the help of sflclr keyword..

When 9999 records loaded in subfile buffer and displayed .. After displaing , with the help of sflclr keyword 1st clear the subfile buffer and load with the remaining records from databasefile with 10000th record and display with sfldsp keyword in loadall subfile...


I hope this answer will helps u.. Thank you

I have faced this question in ibm...

Is This Answer Correct ?    1 Yes 2 No

i want to display the 10000 record in a subfile by using loadall , can we do it?..

Answer / ravi

The moment the PF exceeds 9999 records and you try to display the subfile it fails with session/device error occured.

But, in expandable/self extending, you can page down till 9999 and the moment RRN is sfl becomes 9999 and you try to write the 10000 record, it fails because the records are stored in buffer and rrn accumulates.

single page/page by page, no storage in buffer, we have to do pgup/pgdwn.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More IBM AS400 AllOther Interview Questions

How to add 99 menu (page down) option in menu creation..

0 Answers  


How to increase 3 days from my current date in RPG Program?

3 Answers   Mind Tree,


How to position the cursor on a display file at a desired location.

5 Answers   Four soft,


what does check opcode is used?

1 Answers   IBM,


What are the valid user defined data area types?

1 Answers  


what is the maximum number of records you can specify in a display file?

1 Answers   IBM,


Job is running in production 24/7 how do u debug that running job ?

1 Answers   Wipro,


What Is The Difference Between Goto & Exsr?

0 Answers   IBM,


can error messages as a result of a comp, range or values keyword be overridden?

1 Answers   IBM,


Dear All, I have one confusion related to my platform. I am working with Wipro from last two year however still I am looking for AS400 platform kindly show me the way out of it. And please share with me the hardware knowledge that how I grow myself in hardware (AS/400) also.

1 Answers   Wipro,


what is the purpose of ovrdta (override data) keyword?

1 Answers   IBM,


Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?

0 Answers  


Categories