Hello,
I have a project that needs to import data from CSV files into AS/400 PF file
thanks to all users here who helped me get the project of the ground (http://www.code400.com/forum/showthr...ile-processing)
I have all the initial processing code I need to :
1. call ftp script and get the files on IFS
2. process the files using "CPYFRMIMPF"
3. clean up the ftp by executing rename script created during the initial stage of the processing
my issue now is that if I reprocess the files again (might need to do that on accasion) even though I use parameter *updadd
it stills adds the duplicate records to the PF instead of updating existing.
is there a way to process files without creating duplicates?
thanks...
I have a project that needs to import data from CSV files into AS/400 PF file
thanks to all users here who helped me get the project of the ground (http://www.code400.com/forum/showthr...ile-processing)
I have all the initial processing code I need to :
1. call ftp script and get the files on IFS
2. process the files using "CPYFRMIMPF"
3. clean up the ftp by executing rename script created during the initial stage of the processing
my issue now is that if I reprocess the files again (might need to do that on accasion) even though I use parameter *updadd
it stills adds the duplicate records to the PF instead of updating existing.
is there a way to process files without creating duplicates?
thanks...
Comment