I think you miss a left parentheses in:  CONS_CODE = GETMSG*
"MSGS.","SOL","KCIBS",5)"

ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Continuous Monitoring
for z/OS, x/Linux & IBM I **| z/VM coming soon  *


nbsp; *|*





On Wed, Apr 30, 2025 at 10:33 PM Kenneth Kripke <
0000046fa3a8ef80-dmarc-requ...@listserv.ua.edu> wrote:

>
>
>
>
> From: k.kri...@comcast.net <k.kri...@comcast.net>
> Sent: Wednesday, April 30, 2025 3:24 PM
> To: 'ibm-m...@listserv.com' <ibm-m...@listserv.com>
> Subject: REXX CONSOLE
>
>
>
> I have the following REXX that I would like to use to capture ucb
> information using the DEVSERV console command
>
> /* rexx*/
>
> "CONSOLE ACTIVATE CART(LCONS)"
>
> 'CONSPROF UNSOLDISPLAY(YES) SOLDISPLAY(YES) SOLNUM(99) UNSOLNUM(99)"
>
> "CONSOLE SYSCMD(DEVSERV QDASD,1000,224) CART(LCONS)"
>
> CONS_CODE = GETMSG*"MSGS.","SOL","KCIBS",5)"
>
> "CONSOLE DEACTIVATE"
>
> My goal is to retrieve the output from the command in the stem variable
> MSGS.
>
> So far, the output from the command gets displayed to my session, not
> stored
> in the MSG. stem variable.
>
> Any guidance would be appreciated.
>
> Kenneth Kripke
>
> k.kri...@comcast.net <mailto:k.kri...@comcast.net>
>
>
>
>
>
>
>
>
> ----------------------------------------------------------------------
> 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