Link to home
Start Free TrialLog in
Avatar of eddiedelgado
eddiedelgado

asked on

Loading a Fixed text file without Carriage Return and Line Feed

I am having a problem using LOAD in DB2 v8.1.  I am trying to load a fixed length text file that does not have a carriage return and line feed at the end of each record.  The entire text file continues on one line.  I have tried to load the file using "METHOD L" in my LOAD script but it doesn't seem to be working.  Does anyone know how I can load the text file without a carriage return and line feed?
Avatar of ghp7000
ghp7000

post the load command you are using please
Avatar of eddiedelgado

ASKER

I figured out how to do this.  I needed to use the "MODIFIED BY RECLEN=x" in my LOAD command.
I figured out how to do this.  I needed to use the "MODIFIED BY RECLEN=x" in my LOAD command.
I figured out how to do this.  I needed to use the "MODIFIED BY RECLEN=x" in my LOAD command.
please post a request in community support to have your points refunded and this question removed from the active list
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial