SQL Loader - loading binary data fields [message #181073] |
Thu, 06 July 2006 10:51 |
roopuv
Messages: 1 Registered: July 2006
|
Junior Member |
|
|
When trying to load EBCDIC data file using SQL loader, having issue with the fields which are defined as "COMP".
Cobol Declaration -
CC-YY PIC 9(04) COMP
Oracle Column -
CC_YY INTEGER
Control file specification -
CC_YY POSITION(100:101) INTEGER
Example of one record -
Value of "1994" but its getting loaded as "-151729657"
Not sure if I am using right data representation in CTL file,
would be great if anyone knows a workaround.
Thanks,
Roop
|
|
|