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

Answer Posted / samul

OVRDBF FILE(TEST)
TOFILE(*LIBL/TEST)
MBR(*ALL)

before calling pgm,execute above cmd.

cheers...

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is data area and how it is used in rpg program ?

758


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

553


What is difference between bind by copy and bind by reference?

1736


how do I preserve and clean the array?

677


What is a record lock error?

1272






What is the purpose of record level identifier?

732


How to handle duplicate error handling in RPG?

1689


what was the robotech rpg?

689


what is the necessary keyword needed to scroll subfile records?

707


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2378


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1567


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2056


how can you display specific subfile page on the screen in unequal subfile?

677


What is ment by record level identifier?

660


can you debug ile rpg program using isdb?

741