Yes Shmuel, PROFILE VARSTORAGE(HIGH) is set already. Somehow, still giving the same error.
On Thu, Apr 7, 2022 at 2:35 PM Seymour J Metz <[email protected]> wrote: > You need to do the PROFILE VARSTORAGE(HIGH) before calling the script. It > will remain in effect across logons. > > It might help to release storage no longer needed, e.g., drop variables. > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > > ________________________________________ > From: IBM Mainframe Discussion List [[email protected]] on behalf > of Vaid Laturkar [[email protected]] > Sent: Thursday, April 7, 2022 12:00 AM > To: [email protected] > Subject: Command execution through OUTTRAP giving rc -1645 > > cross post to IBM-MAIN, TSO REXX. > > > 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. > > 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) +++ > > We tried to add "PROFILE VARSTORAGE(HIGH)" before OUTTRAP and increased the > REGION parameter on job too. But somehow it's now working. Earlier we had a > similar issue and specifying this profile setting has worked. > There are around 145K+ users and user in error is only able to trap around > 89K users only. RACF permission wise this id is set up properly. so that's > no issue. > > The code snippet goes as below: > 000041 issue_scmd: > 000042 /*---------------------------*/ > 000043 address TSO > 000044 "PROFILE VARSTORAGE(HIGH)" > 000045 x = OUTTRAP(rec.,,'NOCONCAT') > 000046 cmd = 'SEARCH CLASS(USER)' > 000047 cmd > > Any pointers on how this can be further investigated. Thanks in advance. > > > Regard > Vaid > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
