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

How will u xpedit BACKWARDS in xpeditor


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
ksikdar

New User


Joined: 30 Jun 2006
Posts: 13

PostPosted: Fri Mar 09, 2007 7:43 pm
Reply with quote

Hi all,
in xpeditor we can xpedit line by line by pressing F9.
By pressing F9 we will go down line by line .
But if we want to go up line by line from a certain point wat we have to do???
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Fri Mar 09, 2007 9:44 pm
Reply with quote

How can you run a program "up"? Can you write such a program that make sense when running bottom to top?

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

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Sat Mar 10, 2007 9:21 am
Reply with quote

Hello,

Do you want to Xpedite/debug backwards... if this is what you are looking for I can help you.

Reply back
Back to top
View user's profile Send private message
ksikdar

New User


Joined: 30 Jun 2006
Posts: 13

PostPosted: Sat Mar 10, 2007 4:43 pm
Reply with quote

Ya if i want to debug backwards then wat to do???
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Sat Mar 10, 2007 10:02 pm
Reply with quote

We cannot debug backward, however we can trace back and see the how line was executed.
1. After entering into Xped session, type MONITOR in command line
2. Setup a break point from where you want to trace backwards
3. press PF12 (GO) the program should execute and will stop at the break point
4. Now in command line type REVERSE
5. If you press PF9 the line by line will be in backward direction and you can see what was the value in the variable and how it executed.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Sat Mar 10, 2007 10:38 pm
Reply with quote

Devzee wrote:
Do you want to Xpedite/debug backwards... if this is what you are looking for I can help you.
This I'd like to know.... icon_smile.gif
then Devzee later wrote:
We cannot debug backward, however we can trace back...
Shucks... icon_cry.gif
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Sat Mar 10, 2007 10:53 pm
Reply with quote

In Xpeditor Debug backwards is done by REVERSE and that's what I explained, but this doesnt actually mean that the code is executing in reverse direction.
Back to top
View user's profile Send private message
ksikdar

New User


Joined: 30 Jun 2006
Posts: 13

PostPosted: Mon Mar 12, 2007 2:01 pm
Reply with quote

Thank u all
Back to top
View user's profile Send private message
cheryala

New User


Joined: 20 Mar 2006
Posts: 46

PostPosted: Wed Jan 23, 2008 7:09 pm
Reply with quote

Hi all,
I wanted to apply the above mentioned method to my PLI program and when i entered MONITOR and REVERSE commands, i get the following messages from xpeditor...

Code:

------------------------- XPEDITER/TSO - SOURCE ------------------------------
COMMAND ===> MONITOR                                          SCROLL ===> CSR
                          CURRENT MODULE IS NOT COBOL                         
                                               ----+----1----+               


Code:
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
------------------------- XPEDITER/TSO - SOURCE ------------------------------
COMMAND ===> REVERSE                                          SCROLL ===> CSR 
                           INVALID COMMAND FOR PL/I                           
                                               ----+----1----+                 


My question is , don't we have option of tracing back in reverse using any commands like we have(MONITOR, REVERSE) for cobol.

Thanks and Regards,
Ch
Back to top
View user's profile Send private message
cheryala

New User


Joined: 20 Mar 2006
Posts: 46

PostPosted: Wed Jan 23, 2008 7:10 pm
Reply with quote

Hi all,
I wanted to apply the above mentioned method to my PLI program and when i entered MONITOR and REVERSE commands, i get the following messages from xpeditor...

Code:

------------------------- XPEDITER/TSO - SOURCE ------------------------------
COMMAND ===> MONITOR                                          SCROLL ===> CSR
                          CURRENT MODULE IS NOT COBOL                         
                                               ----+----1----+               


Code:
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
------------------------- XPEDITER/TSO - SOURCE ------------------------------
COMMAND ===> REVERSE                                          SCROLL ===> CSR 
                           INVALID COMMAND FOR PL/I                           
                                               ----+----1----+                 


My question is , don't we have option of tracing back in reverse using any commands like we have(MONITOR, REVERSE) for cobol.

Thanks and Regards,
Ch
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts XPEDITOR FOR C Program setup Compuware & Other Tools 2
No new posts FETCH PROTECTED AREA error in Xpeditor COBOL Programming 6
No new posts Xpeditor: Remote BREAK/ABEND is no lo... Compuware & Other Tools 2
No new posts Problem in debugging in Xpeditor CA Products 18
No new posts Problem with Changeman-XPEDITOR All Other Mainframe Topics 2
Search our Forums:

Back to Top