Solved

ftp'ing from mainframe

Posted on 1997-07-02
3
501 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?
0
Comment
Question by:kfigiel
  • 2
3 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 200 total points
ID: 1582186
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
0
 

Author Comment

by:kfigiel
ID: 1582187
How do I convert ebcdic to ascii?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1582188
> 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
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

828 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