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
 

 

Tracking a variable alone

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

New User


Joined: 09 Mar 2007
Posts: 17
Location: kerala

PostPosted: Thu May 10, 2007 10:39 pm    Post subject: Tracking a variable alone
Reply with quote

I have following set sentence in my COBOL program

in line number 100 move CAP-count to ws-variable

in line number 149 ws-variale to ap-count

in line number 200 AP-count to Zoe-conunt

finally it moved into a record variable called appl-count

I am going to trace backwards . Ist puting monitor option and then pressing F12 after that I want to know is there any command to trace only these variable ie from appl-count I want to go the sentence from where is move to this appl-count variable

ie appl-count ---> zo-count

then I want to go directly to zo-count --> ap-count
then ap-count to w-variale

like that can any one help me
Back to top
View user's profile Send private message

prabe

New User


Joined: 09 Mar 2007
Posts: 17
Location: kerala

PostPosted: Fri May 11, 2007 7:26 am    Post subject: Re: Tracking a variable alone
Reply with quote

I wiil explain more I want to go from

move zo-count to appl-count
directly to
move ap-count to zo-count
I want skip all other sentences in between these two
Back to top
View user's profile Send private message
Bharti P Manglani

New User


Joined: 13 Mar 2007
Posts: 16
Location: Pune

PostPosted: Fri May 11, 2007 12:09 pm    Post subject: Re: Tracking a variable alone
Reply with quote

Hi,

I think you can put breakpoints at those lines and using F12 key you can track the lines.

Using F12 will help you to track only the lines you want.

Hope this helps.
Back to top
View user's profile Send private message
kaleelahamed

New User


Joined: 08 Jun 2006
Posts: 45
Location: Trumbull, CT

PostPosted: Sat Jun 16, 2007 2:12 pm    Post subject: use GT command to skip the lines u dont want to execute.
Reply with quote

Actaully using Gt will not execute the lines between them. But if we use break point the and move to that, all the line will be executed.
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 Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm


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