Let's try a picture:

+----+   +----+   +----+   +----+   
|    |   |    |   |    |   |    |   
| MM +---+ MP +---+ RD +---+ CM |
|    | x |    | y |    | z |    |   
+----+   +----+   +----+   +----+   

MM = my mainframe
MP = my PC (Windows)
RD = Windows Remote Desktop/Citrix Terminal Server
CM = client mainframe

I have pretty much complete control over MM and MP. I can FTP over link x.

Across link y the only transport mechanism I have found is Windows
cut-and-paste.
Across link z the only transport mechanism I have found is Hummingbird and
IND$FILE.

I have no ability to install software on RD and no ability to get a file to
CM other than via links y and z. RD is a very bare-bones desktop with no
e-mail, etc., and only the most basic of Windows tools such as notepad, plus
Hummingbird.

I can get character files from MM to CM by FTP across x, load them into an
ASCII editor and cut-and-paste across y, and IND$FILE from the clipboard
across z.

I cannot paste an entire file across y (by selecting cut and then paste in
Windows Explorer).

The question is: does anyone know of a tool that will get non-character
(won't survive translation to ASCII and back) file from MM to CM? It seems
to me that my best bet is a Rexx program that converts arbitrary files
between binary and hex or base 64.

I suppose another approach is that I could write a quick VB program for my
PC to stick any arbitrary file into the clipboard. Then perhaps I could get
a non-ASCII file across y. Seems less generally useful than the Rexx
binary/base 64 utility.

Charles



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Paul Gilmartin
Sent: Wednesday, April 12, 2006 8:58 PM
To: [email protected]
Subject: Re: Looking for binary to character translation utility

Y'know, Kermit was invented to solve problems like this.
but I suspect even Kermit would balk at this configuration.

Unload with TSO TRANSMIT.  Think about XMITIP -- I'm
sure it does base64.  Can you XMITIP from your MF to
your desktop?  Can you capture the raw mail text (still
base64) on your desktop?  If not, XMITIP to your MF
account; capture the mailbox with SDSF (or 3.8?).

Now you gotta undo the base64.  Rexx.  Shave off the
whiskers.  TRANSLATE; C2D; 
right(D2C(((c0*64+c1)*64+c2)*64+c3, 3, '00'x);
string 'em together (yes, teD, "catenate" is a word.)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to