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.

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

Reply via email to