Where can I find a sample program that will read a file, not by key and write entire row, all rows to another table with the same record format.
Announcement
Collapse
No announcement yet.
RPG sample to Read Write
Collapse
X
-
CPYF should work if you want to copy all the records.
If your program isn't compiling because there is a message about the record format already being defined, you can use the RENAME keyword on your file definition to rename one of the record formats to some other name inside the RPG program.
Comment
Comment