View previous topic :: View next topic
|
Author |
Message |
Gurmeet
New User
Joined: 22 Feb 2006 Posts: 46 Location: Pune
|
|
|
|
How to setup a DEBUG for a CLIST?
Please help.
Regards,
Gurmeet |
|
Back to top |
|
|
Bill Dennis
Active Member
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:
Code: |
PROC 0 DEBUG
IF &DEBUG = DEBUG THEN DO
CONTROL MAIN MSG LIST CONLIST SYMLIST
END
ELSE DO
CONTROL MAIN NOMSG NOLIST NOCONLIST NOSYMLIST
END |
If 'DEBUG' is passed as a parameter, the extra list options take effect. |
|
Back to top |
|
|
Gurmeet
New User
Joined: 22 Feb 2006 Posts: 46 Location: Pune
|
|
|
|
I'm a newbie at this. What does LIST CONLIST SYMLIST mean? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
Nikhil Bhole
New User
Joined: 25 Feb 2008 Posts: 12 Location: Pune
|
|
|
|
When I add the following code in my CLIST as the first three lines:
PROC 0 DEBUG
IF &DEBUG=DEBUG THEN +
CONTROL LIST CONLIST SYMLIST MSG
I get the following error:
COMMAND PROC NOT FOUND
1 *-* PROC 0 DEBUG
+++ RC(-3) +++
2 +++ IF &DEBUG = DEBUG
Help me out please |
|
Back to top |
|
|
|