Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Executed paragraph name display

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Executed paragraph name display
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: 2150
Location: At my coffee table

PostPosted: Thu Jun 17, 2010 11:10 am    Post subject: Re: Executed paragraph name display
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    Post subject: Re:Executed paragraph name display
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

Senior Member


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

PostPosted: Thu Jun 17, 2010 3:48 pm    Post subject: Re: Executed paragraph name display
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts Display upon console bipinpeter COBOL Programming 1 Thu Jun 22, 2017 12:35 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us