Hi,
I'm using extended CONSOLE (EMCS) to send commands. I would like to suppress the responses written to SDSF LOG. Anyone?
Here is the code:
The response is written both to my terminal and to SDSF LOG.
BR Jaka
I'm using extended CONSOLE (EMCS) to send commands. I would like to suppress the responses written to SDSF LOG. Anyone?
Here is the code:
Code:
/*REXX*/
USR=USERID()
CMD="D A,L"
"CONSOLE ACTIVATE NAME("USR")"
"CONSOLE SYSCMD("CMD") CART('DA01')"
MCODE=GETMSG('RESMSG1.','SOL','DA01',,120)
"CONSOLE DEACTIVATE"
IF RESMSG1.0 = 0 THEN
SAY 'NO MESSAGE RETURNED'
ELSE
DO I=1 TO RESMSG1.0
SAY RESMSG1.I
END
EXIT
The response is written both to my terminal and to SDSF LOG.
BR Jaka