MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Improving permonance of cobol pgm by Removing comment lines?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue Jul 11, 2006 1:13 am    Post subject: Improving permonance of cobol pgm by Removing comment lines? Reply with quote

will the performance of cobol pgm will be improved by removing commented lines?

Removing the comment lines will bring down the lines of count but will that improve the performance of the cobol program.

Pls let me know the ways to tune a cobol prgram to improve the performance.
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Tue Jul 11, 2006 1:45 am    Post subject: Reply with quote

You're joking, right? If you don't understand what a compiler does, why are you concerned with COBOL programs? It isn't an idle question. If someone is paying you to modify their programs, and you have so seriously misreprested your skills, you are doing no favors for anyone and the risks to your employer and to your employer's customers (the rest of us) are beyond description.

Seriously. This is like asking if a pound of rocks weighs more than a pound of feathers, and then asking how determine the precise weight of a building.

If you are serious, I'd suggest reading a book about any [i]compiled[/b] language to see what a compiler does. Interpreted languages operate differently but even there, comments are... If I go any farther, I'll be doing us both a disservice.
Back to top
View user's profile Send private message Visit poster's website
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue Jul 11, 2006 4:43 am    Post subject: Reply with quote

semigeezer,

There is a famous saying that 'No doubt is a silly doubt'.

I asked you very basic quesion. I know what a compiler does, I just want to make sure what I think is right. thanks for the suggestions.

Anyway I asked one more question
Quote:

improve the performance of the cobol program


If you know anything on this, please let me know.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Tue Jul 11, 2006 4:49 am    Post subject: Reply with quote

Quote:

Anyway I asked one more questionQuote:

improve the performance of the cobol program


vak255,

Before you get all defensive about your query and point fingers did you bother searching the forum ? Mad A simple search for "performance" in the application programming forum would have answered your question.

http://mvsforums.com/helpboards/viewtopic.php?t=1485&highlight=performance

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Tue Jul 11, 2006 4:50 am    Post subject: Reply with quote

Here is my answer to your second post (I'm sure the first one was a joke):
Logic, Logic and again...Logic.

Again, this is my opinion regarding COBOL program.

O.
________
herbalaire


Last edited by ofer71 on Sat Feb 05, 2011 11:38 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue Jul 11, 2006 5:41 am    Post subject: Reply with quote

Thanks Kolusu and ofer.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group