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 / shruti tayal
In F-spec use EXTMBR keyword, specify *ALL in quotes as the
parameter value, this will cause all members of the file to
get processed.
Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
what are the different types of data areas?
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?
What Does Lokup Does In Tables & Arrays?
define the purpose of the *bcat function?
how can you specify no duplicate key?
what is the maximum number of files allowed in rpg?
Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?
how do you use exceptional write in c specs?
How can we update a specific field in RPG?
how can we run a batch job?
What is a query can be displayed without saving it?
how can database records be read without lock ?
What is dynslt?
How can we read file using curser? how to define a curser?
I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.