On Thu, Jun 18, 2020 at 12:34 PM Bob Bridges <[email protected]> wrote:

> Wha...?  I might have misunderstood you, but it sounds like you're saying I
> can 1) collect all the REXX execs I want to transfer to the mainframe, 2)
> ZIP them up (using PKZIP or WinZIP or 7-ZIP or whatever), 3) IND$FILE the
> .zip file to the mainframe, and then 4) ...here's where I bog down.  Is
> there a mainframe utility that can read .zip files?
>

The Java "jar" command can read & write zip files. That's because a jar
file is just a zip file of a directory with a specific format of what the
names are.


>
> And if there is (I never dreamt that), maybe I actually bog down at step 3:
> Do I do the transfer in text or binary?
>

always transfer zip (or jar) files in BINARY. I would guess that the "text"
(REXX) files extracted would be in ASCII (most likely the Windows-1250, but
some might actually be UTF-8). So you'd likely need to use the z/OS UNIX
"iconv" command (or some equivalent) to translate the text into some EBCDIC
code page. The two main ones are the "legacy" CP-037, which is what I think
of as the "JCL" code page & the IBM-1047 code page which is the "z/OS UNIX"
code page as well as the one which I think is the C language default. The
main differences are in the "funny" character such as: { } [ ] | which are
heavily used in C & UNIX.

All answers are given with a 110% money back guarantee of correctness (and
110% of nothing is still nothing). {grin}

Me being me, I'd just use the Co:Z products at
http://dovetail.com/products/dspipes.html They are free to use. You can get
a support contract.



>
> Are you sure you're not just having me on?
>
> Even if you are, it suddenly occurs to me that there's a PC-based utility
> that handles XMIT files, and I think I have a copy left over from an old
> project.  I can bundle them all up in a XMIT file, copy that to the host,
> then RECEIVE it there.
>
> ---
> Bob Bridges, [email protected], cell 336 382-7313
>

-- 
People in sleeping bags are the soft tacos of the bear world.
Maranatha! <><
John McKown

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

Reply via email to