Hi,
I have a log file whose size is number of characters in the file with multiple lines.
Example:
SQL*Loader: Release 10.2.0.4.0 - Production on Sat Sep 12 07:55:29 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Control File: ../adm/ctl/institution.ctl
Character Set WE8ISO8859P1 specified for all input.
Data File: /usr/home/dfusr/data/pe_proxy_master_2000_load_20090912075525.dat
Bad File: /usr/home/dfusr/data/bad/pe_proxy_master_2000_20090912075525.bad
Discard File: /usr/home/dfusr/data/bad/pe_proxy_master_2000_20090912075525.discard
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table PECDF.INSTITUTION_DF, loaded from every logical record.
Insert option in effect for this table: APPEND
TRAILING NULLCOLS option in effect
I want to delete some characters if the size of the file is greater that 32767. Delete all the characters after the 32767 i.e 32768 to last character in the file. The characters are in multiple lines.
Please advice or give me some sample code.
Thanks
Raj