View previous topic :: View next topic |
Author |
Message |
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Tue Jul 11, 2006 1:13 am Post subject: Improving permonance of cobol pgm by Removing comment lines? |
|
|
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 |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Tue Jul 11, 2006 1:45 am Post subject: |
|
|
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 |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Tue Jul 11, 2006 4:43 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Tue Jul 11, 2006 4:50 am Post subject: |
|
|
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 |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Tue Jul 11, 2006 5:41 am Post subject: |
|
|
Thanks Kolusu and ofer. |
|
Back to top |
|
|
|
|