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: 45
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: 1564

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: 2479
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: 45
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: 1564

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 Invoke stored procedure via batch JCL. DB2 2
No new posts Injecting HTTPHEADER parameters in th... PL/I & Assembler 0
No new posts Concurrent writing records to VSAM fr... JCL & VSAM 9
No new posts how to solve this power failure shutd... ABENDS & Debugging 5
No new posts interactive cics program using CICS s... CICS 5
Search our Forums:

Back to Top