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

Xpediting sub program too.


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
manishmittal

New User


Joined: 25 Apr 2008
Posts: 49
Location: Gurgaon

PostPosted: Mon Mar 02, 2009 2:06 pm
Reply with quote

Hi All,

I m able to expedite my main program but i want to debug sun program as well.As in JCl only calling module is mentioned so i can't select called module directly.Any option is there , please let me know.

Thanks
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Mon Mar 02, 2009 2:44 pm
Reply with quote

Once in the main program, type "SOU XX" where XX is your sub-program.
Place a breakpoint then return to main program by typing "L *".
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Mar 02, 2009 2:50 pm
Reply with quote

Also, the INTERCEPT command can do the same.

O.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Mar 02, 2009 2:57 pm
Reply with quote

Hi,

Check if this link is helpful: www.ibmmainframes.com/viewtopic.php?t=5140&highlight=
Back to top
View user's profile Send private message
manishmittal

New User


Joined: 25 Apr 2008
Posts: 49
Location: Gurgaon

PostPosted: Mon Mar 02, 2009 3:02 pm
Reply with quote

thnx to all.i got the concept.
We can give ;
int program-name in command line.then it will directly go to the called program once it finds call verb in main program.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Mar 02, 2009 3:05 pm
Reply with quote

Great and thanks for letting us know the solution used... icon_smile.gif
Back to top
View user's profile Send private message
manishmittal

New User


Joined: 25 Apr 2008
Posts: 49
Location: Gurgaon

PostPosted: Mon Mar 02, 2009 3:06 pm
Reply with quote

Hi Marso,

thts a new command for me.One we come back to main prog then how can we enter again into called prog .
Back to top
View user's profile Send private message
manishmittal

New User


Joined: 25 Apr 2008
Posts: 49
Location: Gurgaon

PostPosted: Mon Mar 02, 2009 3:27 pm
Reply with quote

Marso,
Sorry for the confusion.We can use same command again and again.I think that was a typo which leads to this confusion.
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 -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top