On Tue, Oct 7, 2014 at 9:28 AM, Paul Gilmartin <
[email protected]> wrote:

> On 2014-10-07, at 07:48, Scott Ford wrote:
>
> > What about IDCAMS (REPRO) -> QSAM -> FTP -> Other Platform
> >
> Is REPRO POSIX-pipe savvy?  I know FTP is POSIX-pipe (FIFO) savvy.
>

​Apparently so. I did a REPRO in a batch IDCAMS to a DD with DSNTYPE=PIPE.
The batch job "hung". I then got a UNIX shell and did a "cat" on the FIFO.
I got the data from the cat and the batch job ended successfully.​ This was
on z/OS 1.12.

//STEP010  EXEC PGM=IKJEFT01,DYNAMNBR=40,REGION=0M
//SYSTSPRT DD   SYSOUT=*
//BOFFO    DD   PATH='/home/tsh009/boffo',
// RECFM=VBA,LRECL=137,
// PATHOPTS=(OCREAT,OTRUNC,OWRONLY),
// FILEDATA=TEXT
//SYSTSIN  DD   *
EXECUTIL SEARCHDD(YES)
REPRO INDATASET('SYS1.MACLIB(READ)') OUTFILE(BOFFO)
/*


I repeated the above, but with a DSNTYPE=PIPE as well. And using IDCAMS
instead of IKJEFT01. All of these worked fine.


>
> What about Batchpipes?
>
> (I imagine IDCAMS (REPRO) | QSAM | FTP -> Other Platform)
>
> OTOH I got a bad ABEND when I allocated SYSTSPRT to a UNIX file
> and issued a REPRO command.  APAR closed PRS.  Ouch!
>

​Interesting. I just did:

//STEP010  EXEC PGM=IKJEFT01,DYNAMNBR=40,REGION=0M
//SYSTSPRT DD   PATH='/home/tsh009/boffo',
// RECFM=VBA,LRECL=137,
// PATHOPTS=(OCREAT,OTRUNC,OWRONLY),
// FILEDATA=TEXT
//SYSTSIN  DD   *
EXECUTIL SEARCHDD(YES)
LISTC
/*

and it worked fine. I also did a
PRINT INDATASET('SYS1.MACLIB(READ)') DUMP

and that worked OK too. What did you try?


>
> -- gil
>
>
-- 
There is nothing more pleasant than traveling and meeting new people!
Genghis Khan

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