help converting EBCDIC to ASCII

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • optimomojo
    Banned
    • Dec 2009
    • 63

    #1

    help converting EBCDIC to ASCII

    000
    Last edited by optimomojo; 07-02-2015, 01:03 PM.
  • Clark Addison
    Senior Member
    • Nov 2008
    • 10300

    #2
    I don't have an answer, but it has been 10 years since I have had to say "EBCIDIC" out loud, and I was happy that I still remember how.

    Good luck!

    Comment

    • Uncle Ted
      The Big 12 money shot.
      • Apr 2010
      • 28853

      #3
      Originally posted by SonOFpeRdiTioN View Post
      I need some help converting EBCDIC files to ASCII (csv or Excel format) files for work. I have a file conversion tool, but need some one with some experience to give me some one on one guidance. Please boardmail if you think you can help me out. Thanks.
      There is an old UNIX command called 'dd' I used to use to do this a very long time ago... It still ships with Mac OS X.



      Note the 'conv=' option. You would do something like:

      Code:
      % dd if=ebcdic_file of=ascii_file conv=ascii
      on the command line.

      Stupid IBM and their "standards".
      "If there is one thing I am, it's always right." -Ted Nugent.
      "I honestly believe saying someone is a smart lawyer is damning with faint praise. The smartest people become engineers and scientists." -SU.
      "Yet I still see wisdom in that which Uncle Ted posts." -creek.
      GIVE 'EM HELL, BRIGHAM!

      Comment

      • Scott R Nelson
        UofU/BYU mixed marriage
        • Apr 2010
        • 1508

        #4
        Originally posted by SonOFpeRdiTioN View Post
        I have a file conversion tool, but need some one with some experience to give me some one on one guidance.
        Why don't you just try it out and see what happens?

        Surely the program generates new files for the converted ones. If not, copy them all first, then work on the copies. You should be able to peek into the new files and see if they look correct or not.

        So what kind of files are they? Cobol programs?

        Comment

        • mtnbiker
          it's all a blur
          • Mar 2009
          • 2573

          #5
          You could always try using JEdit, if you don't like any of the other tools suggested here. It's a free java-based editor that you can download from jedit.org. You can open a file assuming a particular encoding, or just let it auto-detect, then have it modify the encoding in its edit buffer, and save the file out with a new name. I've used it before to convert between different file formats, and it worked fine. Here are a couple of screenshots.

          Open the file based and assume a particular encoding:


          Modify the encoding in the buffer:

          Comment

          Working...