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

how to toggle between single line and multi - line display of a particular record in a subfile?

1895


WHAT IS AS/400 SYNORIO?

3415


what does vldcmdkey means?

1420


what is the difference between sflclr and sflinz?

1842


how can I start a page in a new window?

1273


How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz

1762


how to define global parameter in ile ?

1260


what is the maximum number of fields under a record format of physical file?

1957


What is program status data structure(psds) in as400?

1134


can you display a empty subfile?

1279


what is the favicon.ico request that my site receives now and then?

1156


what is a non-join logical file?

1919


How do you check object lock

875


WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?

2576


how to read database records without locking them?

1928