Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ftp'ing from mainframe

Posted on 1997-07-02
3
Medium Priority
?
507 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 600 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

879 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