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
what is the syntax for plist?
how can you detect and handle a record lock situation?
how many maximum spaces could be given in o specs?
how can I control from my cgis the cache of a remote browser?
what keyword must be used with protect keyword ?
Write a CL program which will run a batch job at 1 am every night
how to read database records without locking them?
what is *inzsr used for?
What is RETURN CURSER LOCATION in subfile?
what opcode could be used to test an alphanumeric field for all numeric values?
To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?
what does dfu program you to do on a record?
what are various techniques to pass parameters from one program to another?
is it possible to create a physical file without dds?
what are the three types of keywords associated with printer file ?