Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to setup a DEBUG for a CLIST

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Gurmeet

New User


Joined: 22 Feb 2006
Posts: 46
Location: Pune

PostPosted: Fri Feb 22, 2008 8:05 pm    Post subject: How to setup a DEBUG for a CLIST
Reply with quote

How to setup a DEBUG for a CLIST?

Please help.

Regards,
Gurmeet
Back to top
View user's profile Send private message

Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Sat Feb 23, 2008 2:48 am    Post subject:
Reply with quote

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
View user's profile Send private message
Gurmeet

New User


Joined: 22 Feb 2006
Posts: 46
Location: Pune

PostPosted: Mon Feb 25, 2008 1:08 pm    Post subject: Reply to: How to setup a DEBUG for a CLIST
Reply with quote

I'm a newbie at this. icon_rolleyes.gif icon_redface.gif What does LIST CONLIST SYMLIST mean?
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Mon Feb 25, 2008 2:29 pm    Post subject: Reply to: How to setup a DEBUG for a CLIST
Reply with quote

11.1 Using Diagnostic Options of the CONTROL Statement.
Back to top
View user's profile Send private message
Nikhil Bhole

New User


Joined: 25 Feb 2008
Posts: 12
Location: Pune

PostPosted: Wed Mar 12, 2008 2:22 pm    Post subject:
Reply with quote

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 icon_cry.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am
No new posts Trace in CLIST PANEL cvnlynn CLIST & REXX 1 Thu Jun 22, 2017 11:06 pm
This topic is locked: you cannot edit posts or make replies. MQ setup query mohitsaini Java & MQSeries 4 Sun Jan 08, 2017 1:53 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts how to find clist's or view library Andrew Hsia CLIST & REXX 4 Tue Jun 28, 2016 6:07 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us