Loading a Fixed text file without Carriage Return and Line Feed

Posted on 2004-09-30
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?
Question by:eddiedelgado
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
LVL 13

Expert Comment

ID: 12195661
post the load command you are using please

Author Comment

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

Author Comment

ID: 12201316
I figured out how to do this.  I needed to use the "MODIFIED BY RECLEN=x" in my LOAD command.
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.


Author Comment

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

Expert Comment

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

Accepted Solution

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

E-E Admin

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DB3-913 err can anyone plz help to solve this issue 3 268
how to apply the SSL on iseries and WAS application 1 133
AS400 BRMS - none enrolled tape 6 88
finding tables 2 57
November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

756 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