I have been using sql loader for transfering data from flat files to oracle. Suddenly now we are getting data from the source with blanks on the rigth side of the data. The flat file is being generated from IBM DB2 export utility. Does anyone know how to remove blanks in the ibm db2 export command ???
Also while using the sql loader utlity, I made some changes in the control file. I have attached the file here.
But when the command is runned, the log file shows no error, but the data in the columns is NOT PRESENT ??????
This information from one of our DB2 DBA's is that while creating the script to export the data not to mention the cylinders and blocksize so that the system will ignore the blank spaces and take only the data.
i have used the rtrim function to remove the blank spaces in the column. As the files that we have received have only blank spaces to the right of the data column. eg., '00008___'.
Here ____ represents blank spaces. Now I have to get rid of it.
I have used RTRIM function in SQL LOADER CTL file and have failed.
Hope this sends you a clear picture.