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 [email protected] with the message: INFO IBM-MAIN

Reply via email to