> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Knutson, Sam
> Sent: Wednesday, January 31, 2007 10:07 AM
> To: [email protected]
> Subject: Re: Smartbatch for OS/390 vs Batchpipes OS/390
> 
> 
> Making PIPES an automatically entitled part of the base z/OS product
> would allow users and vendors to build function that depends on it and
> add a great deal of value to z/OS as a platform.  I remember 
> how excited
> I was when I stumbled on one of the "Plumber's" sessions at 
> SHARE years
> ago and how quickly that excitement faded when I realized the 
> hurdles I
> felt I could not overcome to get it acquired.  
> 
>         Best Regards, 
> 
>                 Sam Knutson, GEICO 

I don't know anything about the PIPES being discussed here. However, you
can "pipe" information from one job to another using standard JCL. Run
the following two jobs together, in separate initiators (of course!).
Oh, and make any JCL changes necessary!

//useridGW JOB (H00000I),'TESTPIPE1',CLASS=D,MSGCLASS=X,
// TYPRUN=HOLD,
//             NOTIFY=&SYSUID,TIME=NOLIMIT
//STEP002  EXEC  PGM=ICEGENER
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  DUMMY
//SYSUT1   DD  DISP=SHR,DSN=SYS1.MACLIB(READ)
//SYSUT2 DD PATH='/tmp/MCKOWNPIPE',
// PATHDISP=(KEEP,KEEP),
// PATHMODE=(SIRUSR,SIWUSR),
// PATHOPTS=(OCREAT,OWRONLY),
// DSNTYPE=PIPE,
// LRECL=80,RECFM=F,BLKSIZE=80
//
/*EOF
//useridGR JOB (H00000I),'TESTPIPE2',CLASS=D,MSGCLASS=X,
// TYPRUN=HOLD,
//             NOTIFY=&SYSUID,TIME=NOLIMIT
//STEP002  EXEC  PGM=ICEGENER
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  DUMMY
//SYSUT1 DD PATH='/tmp/MCKOWNPIPE',
// PATHDISP=(KEEP,KEEP),
// PATHMODE=(SIRUSR,SIWUSR),
// PATHOPTS=(OCREAT,ORDONLY),
// DSNTYPE=PIPE,
// LRECL=80,RECFM=F,BLKSIZE=80
//SYSUT2   DD  SYSOUT=*
//

The GW job will "pipe" SYS1.MACLIB(READ) to /tmp/MCKOWNPIPE, which will
be read and printed by the GR job. Whichever one starts first will wait
for the second one to start. When the GW job signals EOF, then both jobs
will terminate.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it. 

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