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 / vivek
USING MEMBER MAPPING IN LF THEN THIS LF USE IN RPG PROGRAM.
LET SEE,
PF@1 CONTAIN 3 MEMBER LIKE M1,M2,M3 AND FIELDS OF
NAME AND ID
LF@1
R R1 PFILE(PF@1)
K NAME
AFTER THAT LF USE IN RPG PROGRAM. TRy now.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out
can a single screen format occupy a screen area above and below a subfile format ?
What is program status data structure(psds) in as400?
what is the maximum number of subfiles that can specified in a display file ?
some special characters I key in my html source members show different on my web pages. Why? How can I solve this?
what is the maximum number of fields under a record format of physical file?
can a indexed file be accessed in arrival sequence in rpg program?
why is as/400 called object oriented machine?
what is the syntax for plist?
What is the Difference between command attention key and command function key ?
what is a join logical file?
What is %CHECK?
how does the runqry show the output?
what is the maximum number of parameters allowed in rpg?
what is a query can be run in which mode?