[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Using DEBUG option



Is there a way to turn ON the debug option from withing the SQR itself?
Or, is this something that must be done from the command line with the -DEBUG
flag ?
I get the impression from the manuals that you can do this with the #DEFINE, but
I don't know how.
Can anyone help me with this?

As an example, I have the following code in a SQR:

#IFDEF DebugD
   display 'SQL: Statement ='
   display $SQL_Statement
#ENDIF

I need to know how to make it do the displays by setting the  DebugD

As always, thanks for your help!