On 13 Apr 2006 06:54:15 -0700, in bit.listserv.ibm-main
(Message-ID:<[EMAIL PROTECTED]>)
[EMAIL PROTECTED] (Charles Mills) wrote:
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?
Have you considered either e-mailing the data to the
client or shipping them a tape and leaving it up to them to
get the data to their mainframe?
However, if you *really* want a program to make a
file you can copy-and-paste, you could try looking for
source for uuencode and uudecode. If you don't mind that
the file will be twice the size, you could just write a
program to UNPK the original data (in groups of bytes) and
another program to PACK them back on the far end. I'll
leave it as an exercise for the student to take into
account the last bytes of each group and what to do if the
filesize is not a multiple of the group size.
Once you have a display-character file on the PC,
check out CLIPB.EXE which is available under GNU public
license; it will copy an entire file into the
clipboard. I'd offer to send the program to you, but I
received it without source code and I'm not sure if the GPL
allows me to redistribute it without source.
----------------------------------------------------------------------
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