On Sat, 13 Feb 2021 21:49:33 +0200, Binyamin Dissen wrote:
>
>The issue was legal, and FTP is blocked (don't ask me why .....) - I could
>connect, but any action would drop the connection (even in passive mode)
>
>But the idea of Unix tools was good. They had bash, so I converted it into a
>TAR and was able to user wc3270 file transfer. Now hoping that I can undo
>(which requires an increase in USS space)
>
Good.
My Windows knowledge is rudimentary.  What tool creates a TAR archive?
I don't see it as a WinZip  option.

See: 
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.4.0/com.ibm.zos.v2r4.bpxa500/r4paxsh.htm

You should be able to verify it with:
    pax -v <transferred.tar

for EBCDIC conversion:
    pax -vr -ofrom=ISO8859-1,to=IBM-1047 <transferred.tar

(Let it run until zFS space is exhausted and delete all but a
few files.  Inspect the rest, or interrupt it early.)

I've used the following to strip the pesky carriage returns.
The "^M" must be an actual '0D'X:
#! /bin/sh

# DOS text to UNIX -- convert <CR><LF> to <LF>

exec sed -e 's/^M$//' "$@"

Transfer to PDS (if necessary) with OGETX.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to