Sequential File clear
Posted: Fri Mar 07, 2003 9:43 am
Hi,
I am using a sequential file on UNIX to store temporary data. The file is then loaded by a job into a database table. The problem is that I want to clear the data in the file after a successful load. the best way I see is to use a after subroutine but I do not see a way of clearing a sequential file with DataStage functions. Does anyone know about this? Should I use a DS function or use a UNIX command inside a DSExecute?
Regards
MAT
I am using a sequential file on UNIX to store temporary data. The file is then loaded by a job into a database table. The problem is that I want to clear the data in the file after a successful load. the best way I see is to use a after subroutine but I do not see a way of clearing a sequential file with DataStage functions. Does anyone know about this? Should I use a DS function or use a UNIX command inside a DSExecute?
Regards
MAT