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
which single rpg opcode performs both setll and reade?
To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?
How to add 99 menu (page down) option in menu creation..
How can we read file using curser? how to define a curser?
explain the purpose of keep and assume keywords?
what is the purpose of putovr (put with explicit override) keyword?
what is scan and xlate?
maximum number of subfiles that can be active for a single file is?
how can I predict the performance of my cgis?
WHAT IS AS/400 SYNORIO?
why is as/400 called object oriented machine?
What is dynslt?
when are the referential constraints executed?
is it there an easy way to determine if an html section is available to issue a wrtsection upon?
what does defn do?