IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Executed paragraph name display


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vinit_infy
Warnings : 1

New User


Joined: 07 Apr 2005
Posts: 56

PostPosted: Thu Jun 17, 2010 11:01 am
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Jun 17, 2010 11:10 am
Reply with quote

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
View user's profile Send private message
sriram.mukundan

New User


Joined: 20 Nov 2007
Posts: 28
Location: chennai

PostPosted: Thu Jun 17, 2010 3:03 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Jun 17, 2010 3:48 pm
Reply with quote

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? icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
No new posts How to display the leading zeros of a... DB2 7
No new posts SDSF display Max-RC in different colors TSO/ISPF 4
No new posts Determine Library REXX exec was execu... CLIST & REXX 7
Search our Forums:

Back to Top