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 does union file maintains record formats?
what is message file?
how do you read changed records backward in subfile?
records can be read/update/deleted with which file?
is it possible to create a physical file without dds?
hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.
what is a query can be run in which mode?
in conjunction with what other keyword must ovrdta and ovrata be used?
What is array in as400? What are the types of array?
How to reverse the string in rpg
how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?
what does check opcode is used?
what is externally described file ?
What Is Ddm ?
what is overlay?