veena_nagesh2002 Warnings : 1 Active User
Joined: 07 May 2005 Posts: 110 Location: hyderabad
|
|
|
|
Can any one provide me cobol code tips & standards and also help me how i will know what type of cobol program i am refering
For ex: cobol - 85, vs-cobol-II
And suggest is the coding standards will be differ from the cobol types if so how i can generate optimize code. more over If I change an exisiting program with standards coding methods, how can I calicute the new standard program is more optimized and efficient than previous one. |
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
When you compile a program, the compiler shows the version of the compiler in the output listing. If you look in the forums for AMBLIST, you will see a way to obtain information about a module from the executable in the loadlib.
I know of no standards that are compiler version based. All of the standards that i've seen are specific for the environment in which the code will run.
The way to know if one compiled module uses more or less resources than another is by running them and comparing resources used. Many sites have established benchmark tests so that changes/upgrades in the operating system, utilities (like the sort), and application code can be compared to a known value. As time goes on, less and less organizations invest in this type of benchmark testing. They merely buy faster hardware.
If you have some particular question(s), someone may have some info that you can use. |
|