|
Richard, Thank you for your response. I was able to use debug on my SQL COBOL 400 Program. Could you please make me aware on how I could create a few PDM options to simplify the two step process? Or how to create a CL program to combine the two compiles into a single step? I would appreciate any help you could give me. D Meza * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Richard Casey <casey_r@xxxxxxxxxxxxxxxx> wrote: 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. _______________________________________________ This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/cobol400-l or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/cobol400-l. --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software
As an Amazon Associate we earn from qualifying purchases.
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.