Load EBCDIC data from text file

Posted on 2004-10-22
Last Modified: 2012-06-22
I am receiving a data file in EBCDIC format via FTP.  I need to load the data into SQL Server tables.  What tools/techniques can I use to accomplish this?
Question by:KSleeper
    LVL 68

    Expert Comment

    There is plenty of software external to SQL Server that can convert EBCDIC to ASCII.  

    In fact, most mainframe and AS/400 (two main sources of EBCDIC data, I suspect) transfer tools have an option to automatically convert for you during transfer.

    I would definitely look into methods outside of SQL Server rather than trying to do something within SQL.
    LVL 8

    Expert Comment

    What is the source of the data?

    Are you using FTP to retrieve the data from an AS400?  There may be other options, ie ODBC which will convert the data for you.

    Author Comment

    The data is being delivered via FTP by the mainframe.    At this point, I only have a text file (in EBCDIC format) to work with.
    LVL 68

    Accepted Solution

    Have the FTP from the mainframe automatically convert the file to ASCII.  That should be possible, and if you can do it on the mainframe side, it will be very fast.
    LVL 8

    Assisted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
    Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
    Via a live example, show how to setup several different housekeeping processes for a SQL Server.
    Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

    877 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

    11 Experts available now in Live!

    Get 1:1 Help Now