[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 544
  • Last Modified:

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?
0
eddiedelgado
Asked:
eddiedelgado
  • 3
  • 2
1 Solution
 
ghp7000Commented:
post the load command you are using please
0
 
eddiedelgadoAuthor Commented:
I figured out how to do this.  I needed to use the "MODIFIED BY RECLEN=x" in my LOAD command.
0
 
eddiedelgadoAuthor Commented:
I figured out how to do this.  I needed to use the "MODIFIED BY RECLEN=x" in my LOAD command.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
eddiedelgadoAuthor Commented:
I figured out how to do this.  I needed to use the "MODIFIED BY RECLEN=x" in my LOAD command.
0
 
ghp7000Commented:
please post a request in community support to have your points refunded and this question removed from the active list
0
 
Computer101Commented:
PAQed, with points refunded (125)

Computer101
E-E Admin
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now