Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

what is the syntax for plist?

1127


how can you detect and handle a record lock situation?

1993


how many maximum spaces could be given in o specs?

1090


how can I control from my cgis the cache of a remote browser?

1173


what keyword must be used with protect keyword ?

1770


Write a CL program which will run a batch job at 1 am every night

1099


how to read database records without locking them?

1849


what is *inzsr used for?

2336


What is RETURN CURSER LOCATION in subfile?

1574


what opcode could be used to test an alphanumeric field for all numeric values?

1780


To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?

1222


what does dfu program you to do on a record?

1230


what are various techniques to pass parameters from one program to another?

1868


is it possible to create a physical file without dds?

1995


what are the three types of keywords associated with printer file ?

1705