MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

COBOL Compiler options for debug

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
chuck
Beginner


Joined: 30 Nov 2007
Posts: 29
Topics: 13

PostPosted: Tue Oct 29, 2024 10:01 am    Post subject: COBOL Compiler options for debug Reply with quote

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.
Back to top
View user's profile Send private message
chuck
Beginner


Joined: 30 Nov 2007
Posts: 29
Topics: 13

PostPosted: Tue Oct 29, 2024 1:05 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
misi01
Advanced


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Tue Nov 05, 2024 5:17 am    Post subject: Reply with quote

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.
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group