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
 

 

XPEDITER Command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
akshathan

New User


Joined: 18 Aug 2006
Posts: 43

PostPosted: Mon Apr 14, 2008 3:13 pm    Post subject: XPEDITER Command
Reply with quote

I want to examine the logic of the subprogram through
BEFORE module-name. command.

I know other commands like INTERCEPT,SOURCE. But in the PDF they have mentioned that command BEFORE module-name.(Period at the end is needed to specify module level break point) can also be used for the same purpose. But if I'm trying out the same, the flow is not going inside the subprogram.

Kindly tell me whether it can be used for the same functionality Or NOT.
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Apr 14, 2008 3:30 pm    Post subject:
Reply with quote

are you using a script?
Back to top
View user's profile Send private message
akshathan

New User


Joined: 18 Aug 2006
Posts: 43

PostPosted: Mon Apr 14, 2008 3:46 pm    Post subject: Reply to: XPEDITER Command
Reply with quote

Hi,
I am not using a script.I am typing the command BEFORE Program-name.
in the primary command area.

Regards
Akshatha
Back to top
View user's profile Send private message
rajesh1183

New User


Joined: 07 Jan 2008
Posts: 98
Location: Hyderabad

PostPosted: Mon Apr 14, 2008 4:58 pm    Post subject:
Reply with quote

Suppose program A is as follows:
Code:
Code:
IDENTIFICATION DIVISIOON.
PROGRAM-ID. A
----
---
PROCEDURE DIVISION.
---
---
MOVE X to Y.
MOVE 'B' TO WW-000-PGM
CALL WW-000-PGM USING ----,---
EVALUATE WH-000-RTRN-CDE
WHEN WS-000-SUCCESS
---
GO BACK.
Now if you are expediting Program A and you need to see the flow of program B even. Then once u reach the CALL statement in expeditor type SOURCE B in the command prompt. Then Keep a break point at the procedure division of B and continue your expediting.

But if you need to comeback to A again, then before going to B keep a break point after the call statement..and then say source B.

A and B should be available in the loadlib.
Back to top
View user's profile Send private message
akshathan

New User


Joined: 18 Aug 2006
Posts: 43

PostPosted: Mon Apr 14, 2008 7:42 pm    Post subject: Reply to: XPEDITER Command
Reply with quote

Hi Rajesh,
I know how to go with SOURCE command but BEFORE subprogram-name. is another command that can be used to achieve the same functionality(As stated in the manual placed in ibmmainframes.com).
My concern is if i am typing the same command i am not able to getinto the subprogram,instead its working as a normal break point.

If you know the usage of BREAK command for examining the process flow of sub program let me know.
Back to top
View user's profile Send private message
gopinaras

New User


Joined: 13 Jan 2010
Posts: 4
Location: Chennai

PostPosted: Wed Apr 20, 2011 10:34 pm    Post subject:
Reply with quote

maybe this will help you

Over type the SUB-PROGRAM name at "PROGRAM: SAMPMAIN" i.e put SAMPSUB and press enter. THere you see the Sub program source listing.. go ahead and debug.

Code:
COMMAND ===>                                                  SCROLL ===> CSR 
PROGRAM: SAMPMAIN   MODULE: SAMPMAIN COMP DATE:  04/20/2011 COMP TIME:12:46:41
                                               ----+----1                     
000008   01 WS-TEST                         >  4422481960                     
         ** END **                                                             
                                                                               
                                                                               
------   -------------------------------------- Before SAMPMAIN:14/AMODE 24 <>
000009 B  PROCEDURE DIVISION.                                              0008
000010    PARA-ONE.                                                        0008
000011         DISPLAY 'MAIN PGM BEFORE C:' WS-TEST                        0008
000012         CALL 'SAMPSUB' USING WS-TEST                                0008
000013         DISPLAY 'AFTER CALL TO SUB PGM'                             0008
=====>         DISPLAY 'SHOW WS-TEST:' WS-TEST                             0008
000015 A       STOP RUN.                                                   0010
****************************** BOTTOM OF MODULE *******************************
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Wed Apr 20, 2011 10:47 pm    Post subject:
Reply with quote

Quote:
maybe this will help you
After three years, I suspect probably not.
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 -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts COMPARE command sivatechdrive TSO/ISPF 7 Fri Sep 16, 2016 4:31 pm
No new posts I am unable to use SWAPBAR ON command... mrsidhu12 TSO/ISPF 3 Thu Sep 01, 2016 1:10 pm


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