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
how to toggle between single line and multi - line display of a particular record in a subfile?
WHAT IS AS/400 SYNORIO?
what does vldcmdkey means?
what is the difference between sflclr and sflinz?
how can I start a page in a new window?
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
how to define global parameter in ile ?
what is the maximum number of fields under a record format of physical file?
What is program status data structure(psds) in as400?
can you display a empty subfile?
what is the favicon.ico request that my site receives now and then?
what is a non-join logical file?
How do you check object lock
WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?
how to read database records without locking them?