| Colin Campbell 2006-02-23, 6:55 pm |
| Praveen wrote:
>hi...
>Yup I found the cobol statement. It is READY TRACE . But it is not
>supported in the cobol that I am using... it is IBM Enterprise COBOL
>for z/OS 3.4.0.
>
>error came as...
>
>IGYPS2021-W "READY TRACE", "RESET TRACE" and "SERVICE RELOAD" are not
>supported. A
> "CONTINUE" statement was assumed.
>
>
>SO is there any way I can use the same command or anything similar to
>the TRACE command!
>
>Thanks a lot for your time!
>
>Regards,
>Praveen.
>
>
>
Do you have access to IBM Debug Tool? If so, it is relatively simple to
compile the program for debugging (the option is TEST), and to execute
the program with the help of the debugger.
There are debuggers from other vendors as well.
You might have one or more at your shop, but just never looked for it,
or asked the systems programmers if there is one....
Failing that, you can set up a DECLARATIVES SECTION with a procedure
that gets executed each time you enter a paragraph or section, and have
it display the procedure-name, which is sent to you in the debug
information. All of a sudden, you have READY TRACE available again.
|