How to get only unique records from a file which contains duplicate data using CPYF command ?
Example : FILEA has duplicate records and FILEB is a UNIQUE defined.... and I want to get the data from FILEA to FILEB by eliminating all the duplicate records...
Answers were Sorted based on User's Feedback
Answer / murali
First read PF and use pass data to the key fields of LF and check if record already find then skip if not then add record to LF.
| Is This Answer Correct ? | 0 Yes | 0 No |
Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC
Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?
If I have a file with 5 record and that file has 2 Key field and I want to read the unique record of the file then how can we achieve it?
How we will read call stack?
steps for debugging two rpg programs????
what is program status data structure?
How to check which are the pgms using 1 perticulate file.? I know there is many tool available for X-reference...but need to know is there any command available in the system...?
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
Need a sql query: retrive all duplicate records in table
i want to retrieve record b/w 2 dates in as400
What is the difference between copybooks and subprocedures in as400?
How to change the name of physical members Dynamically?