Re: [TSO-REXX] Command execution through OUTTRAP giving rc -1645

2022-04-11 Thread Vaid Laturkar
Gil, thanks for the other options but since this exec has been executing
successfully for years at multiple customers and the current situation is
unique, really looking to get this fixed/clarified.



On Mon, Apr 11, 2022 at 11:03 PM Paul Gilmartin <
000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Apr 11, 2022, at 10:51:12, Vaid Laturkar wrote:
> >
> > cross post to IBM-MAIN, TSO REXX.
> >
> (I do not see your most recent ply on IBM-MAIN)
>
> > We have a long running REXX exec working at different customer sites.
> > This uses OUTTRAP to trap output of RACF command 'SEARCH CLASS(USER)' and
> > then iterates through the list for further processing.
> >
> Might it be better to run the RAC command directly with ADDRESS LINIKMVS
> or EXEC PGM= rather than ADDRESS TSO and redirect the output to
> o An MVS data set
> o Or a UNIXI file
> For post-processing
> o Or SYSOUT for post-processing with SDSF
> ?
>
> > Recently at one customer site, this command execution through REXX exec
> is
> > giving RC -1645 (and incomplete user list) when executed using one user
> id
> > but works when executed using other ID. (gets all users)
> >
> > READY
> > %MYEXECV
> > 46 *-* cmd ---> The cmd variable has 'SEARCH CLASS(USER)' command
> > +++ RC(-1645) +++
> >...
>
> --
> 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


Re: [TSO-REXX] Command execution through OUTTRAP giving rc -1645

2022-04-11 Thread Paul Gilmartin
On Apr 11, 2022, at 10:51:12, Vaid Laturkar wrote:
> 
> cross post to IBM-MAIN, TSO REXX.
> 
(I do not see your most recent ply on IBM-MAIN)

> We have a long running REXX exec working at different customer sites.
> This uses OUTTRAP to trap output of RACF command 'SEARCH CLASS(USER)' and
> then iterates through the list for further processing.
> 
Might it be better to run the RAC command directly with ADDRESS LINIKMVS
or EXEC PGM= rather than ADDRESS TSO and redirect the output to
o An MVS data set
o Or a UNIXI file
For post-processing
o Or SYSOUT for post-processing with SDSF
?

> Recently at one customer site, this command execution through REXX exec is
> giving RC -1645 (and incomplete user list) when executed using one user id
> but works when executed using other ID. (gets all users)
> 
> READY
> %MYEXECV
> 46 *-* cmd ---> The cmd variable has 'SEARCH CLASS(USER)' command
> +++ RC(-1645) +++
>...

-- 
gil

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