> -----Original Message-----
> From: IBM Mainframe Discussion List
> [mailto:[EMAIL PROTECTED] On Behalf Of Charles Mills
> Sent: Thursday, April 13, 2006 8:54 AM
> To: [email protected]
> Subject: Re: Looking for binary to character translation utility
>
>
> 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.
>
<snip>
>
> 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
Charles,
Do "MM" and "CM" have UNIX system services available? Can you get to it
on both? If so, then
1) On "MM" transfer your MVS dataset into a UNIX file (for a PDS, use
XMIT to create a seq dataset, then put that in a UNIX file). Use OPUT in
batch if you like. Note that even if you don't have a "home" UNIX
directory, you should be able to use /tmp.
2) On "MM", get to a UNIX shell prompt (OMVS from TSO) and do:
uuencode filename <filename >filename.uuencode
3) FTP filename.uuencode to "MP"
4) cut and paste filename.uuencode to "RD" as needed
5) IND$FILE to get that data into an MVS dataset
6) Put the MVS dataset into a UNIX file. OPUT again. Use /tmp if
necessary to hold the UNIX file.
7) In a UNIX shell (or BPXBATCH)
uudecode <filename.uuencode
Note that the resulting file is named what you said in the
uuencode in step 2.
8) Now copy the "filename" to an MVS sequential file. OGET should work.
9) do a TSO RECEIVE INDATASET(...) to restore the contents of the PDS.
10) make sure the client approves of the above.
--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology
This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law. If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.
----------------------------------------------------------------------
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