IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Intertest Batch issue with called assembler program


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
drowelf
Warnings : 1

New User


Joined: 03 Mar 2006
Posts: 47
Location: Simpsonville, SC

PostPosted: Thu Jan 20, 2022 4:16 am
Reply with quote

Howdy,

Long time mainframe programmer, but new to Intertest Batch. I have a Cobol program which calls an assembler routine. I have the names of both programs on the Monitored Programs list at the start of my Intertest Batch Session from within ISPF. Now I can trace the main program, but when I get to the call of my assembler routine, it does not step into the program. I've tried switching the order of the programs and issuing both 'At entry All' and the At {module name} Entry commands but no avail, I never get stopped at the entry to my assembler routine.

Any help would be appreciated.
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2023
Location: USA

PostPosted: Thu Jan 20, 2022 8:35 am
Reply with quote

In fact, there are two questions:

1) What is the reason?

99.99% - the Assembler routine is using some non-standard entry code, not recognized (or incorrectly recognized) by Intertest.

2) How to fix/workaround it?

Cannot answer this question. Never used this Intertest, and even hate any “intellectual artificial intelligence tools” supposed to “help” in debugging any code.

As for myself, those thingies do create more problems than solve any of them. Hours or days spent on setting-up any debugger usually help to detect a bug which can be easily detected after 1-3-5 test runs with intermediate debug print statements.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jan 20, 2022 2:28 pm
Reply with quote

drowelf wrote:
Howdy,

Long time mainframe programmer, but new to Intertest Batch. I have a Cobol program which calls an assembler routine. I have the names of both programs on the Monitored Programs list at the start of my Intertest Batch Session from within ISPF. Now I can trace the main program, but when I get to the call of my assembler routine, it does not step into the program. I've tried switching the order of the programs and issuing both 'At entry All' and the At {module name} Entry commands but no avail, I never get stopped at the entry to my assembler routine.

Any help would be appreciated.


Don"t use uptimization for the assembler routine.
Back to top
View user's profile Send private message
drowelf
Warnings : 1

New User


Joined: 03 Mar 2006
Posts: 47
Location: Simpsonville, SC

PostPosted: Fri Jan 21, 2022 12:53 am
Reply with quote

I figured out what the issue was. Its all a matter of names. The load module with the called routine had a different name than the CSECT within the routine. Once I made them match Intertest was able to see my entry breakpoints and step into the module.
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2023
Location: USA

PostPosted: Fri Jan 21, 2022 1:06 am
Reply with quote

drowelf wrote:
I figured out what the issue was. Its all a matter of names. The load module with the called routine had a different name than the CSECT within the routine. Once I made them match Intertest was able to see my entry breakpoints and step into the module.

This is also a violation of one of Intertest assumed internal standards on entry points...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
Search our Forums:

Back to Top