Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
What I do is add a parameter that will determine which CONTROL statement is used. The CONTROL statement is used to display conditional logic tests and symbolic values as you exec. My CLIST starts like this:
PROC 0 DEBUG
IF &DEBUG = DEBUG THEN DO
CONTROL MAIN MSG LIST CONLIST SYMLIST
CONTROL MAIN NOMSG NOLIST NOCONLIST NOSYMLIST
If 'DEBUG' is passed as a parameter, the extra list options take effect.