Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Control getting lost during execution

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Control getting lost during execution
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    Post subject:
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: 7931
Location: Bellevue, IA

PostPosted: Sat Jan 16, 2010 5:05 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm
No new posts output DDname JESMSGLG job during exe... italo_pm TSO/ISPF 16 Tue Jun 21, 2016 11:13 am
No new posts Control-M manuals JPVRoff All Other Mainframe Topics 0 Fri May 20, 2016 11:15 am
No new posts Which Control block has the DSNTYPE i... sudarshan.srivathsav PL/I & Assembler 4 Thu Jan 28, 2016 11:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us