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


Please Help Members By Posting Answers For Below Questions

what are the different types of data areas?

973


Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?

736


What Does Lokup Does In Tables & Arrays?

722


define the purpose of the *bcat function?

900


how can you specify no duplicate key?

698






what is the maximum number of files allowed in rpg?

928


Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?

600


how do you use exceptional write in c specs?

1134


How can we update a specific field in RPG?

919


how can we run a batch job?

723


What is a query can be displayed without saving it?

666


how can database records be read without lock ?

1202


What is dynslt?

774


How can we read file using curser? how to define a curser?

818


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.

2253