We help IT Professionals succeed at work.

ftp'ing from mainframe

kfigiel
kfigiel asked
on
Medium Priority
536 Views
Last Modified: 2013-12-23
I am ftp'ing from a mainframe to a SPARC server E3000 running Solaris 2.5.1.  I want to ftp a file in "packed" ebcdic format.  When I currently do it, the file is monged and cannot be read as ascii. If I trasfer a "non-packed" ebcdic file, it can be read as ascii on the Sun box.  What do I need to do/buy/get to make an ftp transfer of a "packed" ebcdic file on a mainframe to a Sun Solaris server?
Comment
Watch Question

If your ftp implementation on the mainframe does not support
this functionality (converting ebsdic to ascii, then send packed)
convert the file before ftp'ing:
      dd if=your-ebsdic-file of=your-ascii-file conv=ascii

Ciao Achim

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
How do I convert ebcdic to ascii?
> How do I convert ebcdic to ascii
UNIX is straight forward ((-:

      dd ... conv=ebsdic

or for some big blue specials:

      dd ... conv=ibm

you'll get the answer faster with  "man dd"  

;-)  Achim
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.