Thanks for the references!  Education is a wonderful thing.

Peter 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 04, 2005 12:38 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: PKZIP for mainframe

In a recent note, Farley, Peter x23353 said:

> Date:         Fri, 4 Nov 2005 10:08:23 -0500
> 
> Can that invocation of IEBGENER be done from REXX called under a 
> shell, and if so is "address TSO" required first?  Or can this only be 
> accomplished from TSO/batch REXX?
> 
Yes; no; not necessarily.  There's a splendid example of exactly this
in:

    Title: z/OS V1R7.0 TSO/E REXX Reference
    Document Number: SA22-7790-06

    #         2.5.9.2 "z/OS V1R7.0 TSO/E REXX Reference"
     __________________________________________________________
         2.5.9.2 The LINKMVS and ATTCHMVS Host Command Environments

Allocate DDNAMEs as necessary with BPXWDYN, described in:

    Title: z/OS V1R7.0 Using REXX and z/OS UNIX System Services
    Document Number: SA22-7806-09

    6.0           BPXWDYN: a text interface to dynamic allocation
                           and dynamic output

Use "address SYSCALL 'pipe stem.'" to create the pipe;  "address SYSCALL
'spawnp funzip ...'" to execute the unzip process.

_
This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

----------------------------------------------------------------------
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

Reply via email to