On Sat, Jul 05, 2003 at 09:04:18PM -0700, Madhu Reddy wrote:
>
> then of recors length is more than 25, delete the
> chars after 25...basically truncate record length to
> 25
>
> and if record length is less than 25 add some spaces
> to make record length 25.
Either sprintf() or pack() woul
Hi,
I have file to load into database...
the file contains fixed length records..
basically i need to check for record lengths before
loading into database..
suppose my fixed record length is 25
i have to read each record
then of recors length is more than 25, delete the
chars after 25...basi