× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi!

What I do is create another source file and then use the TOSRCFILE parameter
of the CRTSQLCBL command to save the output of the SQL precompiler. I then
compile that source code with the normal COBOL compiler (CRTCBLPGM) using
the *SRCDBG compile option. Once that compile is done, I can use STRISDB or
STRDBG just fine. I've created a few PDM options to simplify the two-step
process. You could also create a small CL program to combine the two
compiles into a single step.

Hope this helps!
Richard

-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx
[mailto:cobol400-l-bounces@xxxxxxxxxxxx]On Behalf Of D Meza
Sent: Monday, September 22, 2003 9:54 AM
To: cobol400-l@xxxxxxxxxxxx
Subject: Debugging SQL COBOL 400


Hello,

I am new to the AS400.  Could someone please advise me on how to test a SQL
COBOL program on the AS400.  I have tried using "*SRCDBG" as a compile
option and it is not valid.  I could use step by step instructions for
example what parameters to use and how to invoke debug using SQL COBOL.  I
thank you for your help.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.