Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extended console

Status
Not open for further replies.

telesimke

IS-IT--Management
Jul 21, 2011
27
SI
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:

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
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top