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
what are the different opcodes available in rpg for database access ?
What Is The Purpose Of The "n" In The Following Calculation Specification?
how will you display a particular page in subfile ?
explain the difference between defining subfile and message-subfile?
an access path may be in which sequence?
how do you use commitment control in rpg program ?
Explain The Keywords Edtcde & Edtwrd?
is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.
what is *iso date format?
define what a data area is along with a brief example of what it may be used for?
can a join logical file be updated?
define the purpose of the *cat function?
What is program status data structure(psds) in as400?
Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..
describe the difference between the dowxx and douxx operations?