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

we have 2 PF files with same name, how to copy data's from
one file to another through RPG program logic?

Answer Posted / syam

You can't declare 2 pf in the RPG program with same name.
If you declare, system will give error on compilation
(*RNF2026 30).
You can rename same record name in RPG program.
You can rename fiel name in RPG program.
You can't keep 2 pf in one library with same.
2 pf with same name in 2 differned library, you can copy
to 1 pf thru CPYF cl command.

Is This Answer Correct ?    17 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which single rpg opcode performs both setll and reade?

1751


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

1212


How to add 99 menu (page down) option in menu creation..

2355


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

1305


explain the purpose of keep and assume keywords?

1793


what is the purpose of putovr (put with explicit override) keyword?

1642


what is scan and xlate?

1825


maximum number of subfiles that can be active for a single file is?

1685


how can I predict the performance of my cgis?

1091


WHAT IS AS/400 SYNORIO?

3354


why is as/400 called object oriented machine?

1671


What is dynslt?

1204


when are the referential constraints executed?

1095


is it there an easy way to determine if an html section is available to issue a wrtsection upon?

967


what does defn do?

1064