I need to create a job using Easytrieve that reads a file and inserts the record in a DB2 table.
The file contains a description field with 400 chars and would be inserted in DESC VARCHAR (400) column in a DB2 table. The description has variable length. I was able to insert but it is filling out all 400 chars (trailing spaces). Is there a way i can code to insert to the table with variable length?
Thanks.