Page 1 of 1

How to execute commands in a order written in a dataset

PostPosted: Thu Sep 12, 2013 12:31 pm
by m4mainframe
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?

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

PostPosted: Thu Sep 12, 2013 12:55 pm
by BillyBoyo
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.

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

PostPosted: Thu Sep 12, 2013 1:45 pm
by m4mainframe
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.

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

PostPosted: Thu Sep 12, 2013 2:04 pm
by prino
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?

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

PostPosted: Thu Sep 12, 2013 7:37 pm
by Akatsukami
This can be done with the USE command.