>> I'd like to catch the output of an SMS command, like 'DISPLAY SMS, >> STORGRP(ALL), from REXX. Is that possible?
Horacio, Try this /* rexx */ cmd='d sms,storgrp(all)' "console activate" "console syscmd("cmd")" mcode=getmsg('conmsg1.','sol',,,60) if conmsg1.0 = 0 then do say 'no message returned' return end else do i=1 to conmsg1.0 say conmsg1.i end conmsg1.0=0 "console deactivate" exit Thanks, Kolusu ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN