Hi… I need to debug my Natural program which uses WORK FILE. Can you please suggest me how to debug Natural module in batch mode?
Thanks
Shashank
Hi… I need to debug my Natural program which uses WORK FILE. Can you please suggest me how to debug Natural module in batch mode?
Thanks
Shashank
The documentation describes how to invoke the debugger in batch mode here.
When you have Natural for TSO available you can debug “batch programs”
in an interactive environment.
If you do not need more than a few workfile records for debugging, you can use the Stack instead.
At the beginning of your program STACK TOP DATA your few records.
Then, where you ordinarily would be READ’ing a workfile, have an INPUT statement to read the data from the stack.
You can also, of course, STACK what would be output workfile records on the Stack.
steve