In a recent note, Bruce Hewson said:
> Date: Sun, 15 Apr 2007 00:13:21 -0500
>
> Already mentoined are the tape copy utilities, whose source can be found on
> File 229 at www.cbttape.org
>
> The programs are also found in the load library at File 35.
>
Thanks; I hadn't spotted File 35.
> //* results you want. If you can't do some job in * FILE
> 229
> //* tape copying that you want to do, please contact * FILE
> 229
> //* me, and I'll see if we can add a feature. Thanks * FILE
> 229
> //* in advance. (S.G.) * FILE
> 229
> //* * FILE
> 229
>
Ooooh! You shouldn't entice me. (But I'm actually nicer in proportion
as the price is nicer.)
Is there a conventional way to fetch a CBTTAPE file in a single command?
I put together a Rexx EXEC for this purpose. It involves:
snarf ...
piped into gunzip ...
piped into TSO RECEIVE.
I had known that gunzip handles rudimmentary .zip files; I was pleased that
it works on the CBTTAPE archives I tried. I was astonished and delighted
that TSO RECEIVE can use INDD allocated to a z/OS Unix pipe. RECEIVE,
of course allocates the target data set with suitable attributes and space.
It all works with no temporary file storage, but could fail inexplicably if
the z/OS Unix pipe buffer size (131K) is exceeded by the combined terminal
outputs of snarf and gunzip. Safety factor of several hundred.
Alas, my CBTTAPE EXEC doesn't work on z/OS Unix; RECEIVE insists on prompting,
and PROMPT(), QUEUE, and DROPBUF don't play with RECEIVE in the Unix
environment.
Is there any way in command options to tell RECEIVE to issue no prompts
whatever?
Of course, I spent more time on this than I'll ever save by not issuing
individual
commands to download from CBTTAPE.org. But it's the hacker's way; it was
educational; and I refined some of my z/OS Unix Rexx cliches.
-- gil
--
StorageTek
INFORMATION made POWERFUL
----------------------------------------------------------------------
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