View previous topic :: View next topic
|
Author |
Message |
vinit_infy Warnings : 1 New User
Joined: 07 Apr 2005 Posts: 56
|
|
|
|
Hi ,
Do anyone have idea how we can display the executed paragraph name in sysout at the cobol program run time? Any compiler option which can help me to get this?
I dont want to put Display commands in cobol program to display the paragraph names. Please suggest.
Thanks, |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
vinit_infy wrote: |
Do anyone have idea how we can display the executed paragraph name in sysout at the cobol program run time? Any compiler option which can help me to get this? |
Wasn't there a 'TRACE' thingy?
Quote: |
I dont want to put Display commands in cobol program to display the paragraph names. |
Doing a DISPLAY (and sometimes a 'DEBUG' thing) has always worked for me..... |
|
Back to top |
|
|
sriram.mukundan
New User
Joined: 20 Nov 2007 Posts: 28 Location: chennai
|
|
|
|
Display is the Good option to debug where everyone use that.
My idea is you can define one output file with filler x(20 or 30), when u enter each paragraph name, write
Move " XXX-PARA-NAME" to output-variable and write into the o.p file immediately.
Close the output file at the end of the program. But the same does the job as display instead of writing in the spool your going to write into the o.p file. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
vinit_infy wrote: |
I dont want to put Display commands in cobol program to display the paragraph names. |
What should this be concluded to?
You want to drive a car and you don't want to drive a car - so what do you want a new Driver? |
|
Back to top |
|
|
|