Search found 3 matches

by ravindra singh MF
Tue Dec 29, 2015 1:58 pm
Forum: Interview Questions.
Topic: Identify and remove the unused variables from a long running COBOL Program.
Replies: 7
Views: 1492

Re: Identify and remove the unused variables from a long running COBOL Program.

If you mean: "does it change the source member?" then the answer is 'no' - it simply does not process the 'unused' code beyond recognising it and reporting it. The compiler may, internally to itself, move code around if it deems it wise to do so - e,g, if a variable is set to a constant v...
by ravindra singh MF
Mon Dec 28, 2015 2:23 pm
Forum: Interview Questions.
Topic: Identify and remove the unused variables from a long running COBOL Program.
Replies: 7
Views: 1492

Re: Identify and remove the unused variables from a long running COBOL Program.

Compile with compiler option OPT(FULL). If your compiler doesn't support that, look in your Programming Guide to see what to use instead. Thank you. OPTIMIZE The OPTIMIZE option is modified to allow more levels of performance optimization for your application. The previous OPTIMIZE option format is...
by ravindra singh MF
Tue Dec 22, 2015 11:33 am
Forum: Interview Questions.
Topic: Identify and remove the unused variables from a long running COBOL Program.
Replies: 7
Views: 1492

Identify and remove the unused variables from a long running COBOL Program.

Hi, Assume there is a long running program which was written long back. It has gone multiple revisions. It's a batch COBOL, DB2 program. According to an audit, it is advised to remove the all unwanted variables. How can we know the unwanted variables in the program? I just don't know how to do this?...

Go to advanced search