z/OS TSO/E CLISTs
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


How to make diagnostic output optional in a CLIST

z/OS TSO/E CLISTs
SA32-0978-00

You can make the diagnostic output available as an option to anyone who invokes your CLIST. To do so, code a keyword parameter such as DEBUG on the PROC statement as follows:
PROC 0 DEBUG
IF &DEBUG=DEBUG THEN + 
CONTROL LIST CONLIST SYMLIST MSG
The CONTROL options take effect when you invoke the CLIST with the DEBUG parameter, for example (explicit invocation):
EX clistname 'DEBUG'
or, implicit invocation:
%clistname DEBUG

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014