Solved

Loading a Fixed text file without Carriage Return and Line Feed

Posted on 2004-09-30
7
517 Views
Last Modified: 2006-11-17
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
Comment
Question by:eddiedelgado
  • 3
  • 2
7 Comments
 
LVL 13

Expert Comment

by:ghp7000
ID: 12195661
post the load command you are using please
0
 

Author Comment

by:eddiedelgado
ID: 12201299
I figured out how to do this.  I needed to use the "MODIFIED BY RECLEN=x" in my LOAD command.
0
 

Author Comment

by:eddiedelgado
ID: 12201316
I figured out how to do this.  I needed to use the "MODIFIED BY RECLEN=x" in my LOAD command.
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:eddiedelgado
ID: 12201349
I figured out how to do this.  I needed to use the "MODIFIED BY RECLEN=x" in my LOAD command.
0
 
LVL 13

Expert Comment

by:ghp7000
ID: 12201426
please post a request in community support to have your points refunded and this question removed from the active list
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12416234
PAQed, with points refunded (125)

Computer101
E-E Admin
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now