COBOL Compiler options for debug
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> Application Programming

#1: COBOL Compiler options for debug Author: chuck PostPosted: Tue Oct 29, 2024 10:01 am
    —
Hi,
What are the compiler parms when compiling a CICS program with V6.3 of the Cobol compiler to be able to debug the program via DTCN?
With v4 of the compiler these options work fine
Code:

// PARM.COB='SQL("APOSTSQL,VERSION(AUTO)"),MDECK,
//              TEST(SEP,EJPD,NOHOOK),NOOPT,OBJECT,CICS'

I provide a SYSMDECK and SYSDEBUG dataset.

But when I use the same setup with v6.3 of the Cobol compiler I get the message below in DTCN
Source or Listing data is not available, or the CU was not compiled with
the correct compile options.

Wasn't sure if this was a CICS or Cobol question, I have asked this on IBM's TechXChange too.

#2:  Author: chuck PostPosted: Tue Oct 29, 2024 1:05 pm
    —
OK- I figured it out, should have experimented before rushing off to post, eh?
Code:

'SQL("APOSTSQL,VERSION(AUTO)"),CICS,TEST(SEP(DSNAME))'
is all I needed. That SEP(DSNAME) seems necessary

#3:  Author: misi01Location: Stockholm, Sweden PostPosted: Tue Nov 05, 2024 5:17 am
    —
Look at it this way. You've appended something that others (or you, if you forget the solution next time Very Happy ) can find, and that can't be bad.



MVSFORUMS.com -> Application Programming


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group