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 < [email protected]> wrote: > > > > > From: [email protected] <[email protected]> > Sent: Wednesday, April 30, 2025 3:24 PM > To: '[email protected]' <[email protected]> > 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 > > [email protected] <mailto:[email protected]> > > > > > > > > > ---------------------------------------------------------------------- > 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
