Suppose you have 3 members in a database file. How to read
records from all the members
Without using CL (OVRDBF) i.e. it should be handled
exclusively in an RPG program?

Answer Posted / reecha

Using EXTMBR(member name) in the keyword option in the F
specs. For eg.

F filename I F E EXTMBR(mbrname)
This will open the particular member of the file.

Is This Answer Correct ?    19 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between udate and the system date?

1160


where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?

1120


what is a program described file in rpg?

1056


Write a logic program for knowing the repeated number of a vowels in a given program?

3312


In Which Specs Arrays, Tables & Constants Are Defined?

704






describe the difference between the dowxx and douxx operations?

1174


What is the difference between non-join logical files and join logical files?

616


the output from my cgi is correctly interpreted by ms internet explorer, whereas netscape navigator would display it as a plain text. What should I do to have also netscape interpreting the html output from my cgi?

563


what are different types of substems?

1344


what is elastic and non elastic subrile?

563


what keyword must be used with protect keyword ?

1128


how to run other job when one job is active?

603


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

1073


what is a primary file?

1053


What is the Difference between command attention key and command function key ?

788