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

Control getting lost during execution


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

New User


Joined: 13 Nov 2006
Posts: 10

PostPosted: Sat Jan 16, 2010 4:35 am
Reply with quote

Hi

I am trying to debug for an issue and the problem that I am seeing is that the the call from one module to another one is getting lost. The call from a module A to module B is being made using:

CALL PROCESSOR-PROGRAM USING STORAGE-ADDRESS-POINTERS.

When I put the breakpoint at the start of the called program, the control never reaches there. The STORAGE-ADDRESS-POINTERS contains the location of few data areas.

Let me know what could be causing this kind of behaviour.
Any inputs would be helpful.

Thanks
CB
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Sat Jan 16, 2010 4:47 am
Reply with quote

What is the definition and value of PROCESSOR-PROGRAM when the call is executed.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sat Jan 16, 2010 5:05 am
Reply with quote

Quote:
the call from one module to another one is getting lost.
Since this cannot happen,
Quote:
When I put the breakpoint at the start of the called program, the control never reaches there.
this should tell you exactly what the problem is.

I cannot count the number of times I've been told by a programmer that the problem is occurring at point X in a program -- only to find when actually debugging the code that the problem occurs at point Y instead. They get blinders on, convinced that they know where the problem is, and not paying any attention to what the computer tells them about the real issue.
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 Capturing Job Execution Information All Other Mainframe Topics 3
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Help Control-R IBM Tools 2
No new posts Try to understand IMS control block IMS DB/DC 0
No new posts Control-M Delay All Other Mainframe Topics 0
Search our Forums:

Back to Top