Solved

Loading a Fixed text file without Carriage Return and Line Feed

Posted on 2004-09-30
7
532 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

707 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