3 members in databasefile .how to read records from all the
members??

Answer Posted / guru

Reading all the members in a pf cannot be achieved in a
single override command and which is cumbersome too. So
rather using override, you can use EXTMBR('*ALL') in the
file specification in your rpgle program. So when you read a
file, it will automatically read all the members records
from your data base file. This is FYI

Regards
Guru

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is *place and *auto keyword in prtf ?plz explain

2706


explain sflclr, sflend, sfldlt, and sflcsrrrn?

874


What is ment by record level identifier?

642


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

3258


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

709






what are the key words you must use when using a subfile?

678


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5375


What is the difference between iter and do?

658


what is kids-rpg?

655


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

474


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

698


is this a rpg channel?

665


How to declare the pull button in AS/400..

1864


How would display prime numbers using CL program?

5666


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

487