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
what is a physical file?
what is the difference between udate and the system date?
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
when would you prefer logical file than opnqryf?
what keyword must be used with protect keyword ?
when are the referential constraints executed?
what is the use of data structures?
can error messages as a result of a comp, range or values keyword be overridden?
distinguish between terminating a program through seton lr and return?
what is the use of unique keyword and what level it is defined?
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?
what are the different types of data areas?
describe the difference between the dowxx and douxx operations?
What Is The Difference Between Goto & Exsr?
define a shared access path?