How to execute commands in a order written in a dataset



Support for IBM Debug Tool, Utilities and Advanced Functions

How to execute commands in a order written in a dataset

Postby m4mainframe » Thu Sep 12, 2013 12:31 pm

Is there a way out to execute certain commands like putting breakpoints, changing variable values at a particular point, skipping particular breakpoints, listing some particular variables in the monitor ? I don't want to execute each of these instructions one by one as it takes lot of time, particularly in listing the variables in monitor if the variables are all located at different places and are not dependent. Is it there any solution to this?
m4mainframe
 
Posts: 13
Joined: Tue Aug 13, 2013 10:04 am
Has thanked: 0 time
Been thanked: 1 time

Re: How to execute commands in a order written in a dataset

Postby BillyBoyo » Thu Sep 12, 2013 12:55 pm

How do your colleagues do it? In a big site like yours, someone will be doing it well. It won't take you long to find them. Just ask anyone who they go to if they need to do something "special" in the debugger.

It's not clear what you mean when you use the word "execute". You either want a command to execute, or you don't. If you want them to execute, they will always execute one-by-one.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: How to execute commands in a order written in a dataset

Postby m4mainframe » Thu Sep 12, 2013 1:45 pm

None of my colleagues know about it.
Yes, I mean to execute the command. I understand that the command execute one by one only but what I want is execute a set of commands before we get back the control.
m4mainframe
 
Posts: 13
Joined: Tue Aug 13, 2013 10:04 am
Has thanked: 0 time
Been thanked: 1 time

Re: How to execute commands in a order written in a dataset

Postby prino » Thu Sep 12, 2013 2:04 pm

Both the ancient INSPECT & PLITEST had an option to allocate a response file that could contain commands. I'm sure Debug Tool must have something similar. Did you RTFM?
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 635
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times

Re: How to execute commands in a order written in a dataset

Postby Akatsukami » Thu Sep 12, 2013 7:37 pm

This can be done with the USE command.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times


Return to IBM Debug Tool