You'd need some help of a REXX stage.
The calling pipe would use CP QUERY RDR * ALL and feed the spool file
numbers to that REXX subroutine.
In order to keep the spool files, use for example CP CHANGE RDR nnnn KEEP,
or CP SPOOL RDR HOLD

Note too that there are many formats of spool files.  Those in NETDATA or
DISK DUMP format need most work to make them readable.  I shall dig out my
PIPPEEK EXEC and PIPPEEK REXX that can help you a bit.


Kris Buelens,
     --- VM/VSE consultant, Belgium ---
-----------------------------------------------------------------------

2017-12-25 11:43 GMT+01:00 Michal Fisher <[email protected]>:

> Hi all,
>
> I'm using a "scan" REXX exec, that start by creating a  file-list and then
> uses GETFILES to read them.
> I'm looking for a similar operation than would run on READER files.
>
> This is the scan we use today - for disk files:
> ' PIPE (END ?)                           ',
>   '  ? CMS LISTFILE' FN FT FM ' (NOHEADER ',
>   '  | O: FANOUT   '                      ,
>   '  | SPEC 1-* 1.22'                     ,
>   '  | J: JUXTAPOSE'                      ,
>   '  | STEM RESULT.        '              ,
>   '  ? O:          '                      ,
>   '  | GETFILES    '                      ,
>   '  | CASEI LOCATE 1-* \erase\ ',
>   '  | J:'
>
> Is there a way to replace the CMS LISTFILE stage, by a list or reader
> files,
> And then change the "GETFILES"  to "READER" ?
> All reader files should remain as are, and the output to should include
> the details of the spool file where the string was found.
>
> Does anyone  have any idea ?
>
> Thanks,
> Michal Fischer,
>
> Office   : +972-36383344
> Cell        : +972-522772544
>
> www.hilan.co.il
>

Reply via email to