If you come across low values, binary, you may experience an issue that you
weren't expecting.

Rob

On Sun, Apr 3, 2022, 17:36 Paul Gilmartin <
0000000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Sun, 3 Apr 2022 21:06:05 +0000, Farley, Peter x23353 wrote:
> >
> >Using "sh -x" is not as helpful though because although you get a
> separate output line for the "cat" of the MVS data set (good, would allow
> removal of the "echo" command) but you also get another line for the piped
> "fgrep" (not-so -useful noise).
> >
> Perhaps a function which could be defined at the top of your
> control file (untested, as seems to be my habit):
>     FindIt(){
>         if Result=$( cp "$1" /dev/fd/1 |
>              fgrep -n STRNIG_TO_FIND )
>         then
>             printf '\nFound in %s\n%s\n' "$1" "$Result"
>         fi; }
>
> --
> gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to