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...

I have a Physical File name 'File1', which is present in
two libraries named 'LIB1' & 'LIB2'. These 2 libraries are
listed in the library list. Would like to access data from
this file from these two libraries using RPG program. How
to do this, any idea?

Answer Posted / manan

actually the first answer will only work in sequential
execution in CL or SQLRPG. But if we wanna to use
simultaneously in the RPG then the CL will be OVRDBF FILE 1
to LIB1 and for the file 2 Use some other file FILEXXX and
OVRDBF it to LIB2/FILE1 and in RPG use the FILEXXX so when
u refer to any operation in FILEXXX that will reflect to
FILE1 in LIB2.

Other options for RPG4 are also correct ie usinf the
EXTFILE.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can you debug ile rpg program using isdb?

1267


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1729


how do I play {insert rpg system here}?

1034


how do I preserve and clean the array?

1148


what is the procedure and explain about real time scenario.

1957


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2631


how can you display specific subfile page on the screen in unequal subfile?

1155


How would display prime numbers using CL program?

6323


what is an online rpg?

1263


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1893


How to declare the pull button in AS/400..

2333


what is *place and *auto keyword in prtf ?plz explain

3162


How many program bind in one module....

2680


how can I tell when to replace the array?

1214


What is ment by record level identifier?

1143