Page 1 of 1

How would you analyse a COBOL program?

Posted: Thu Oct 25, 2012 2:05 pm
by Shivankoo
Hi,

I was asked in interview how would you analyze a COBOL program?
I gave the ans as there are many kind of analyses -:
Requirement analysis
Root cause analysis
Impact Analysis
Problem / logic analysis

but in general we talk about problem finding in a program
and told him we would first go in for a procedure division and check what the paragraphs are doing in the division and document it paragraph by paragraph
and will finally put displays if i have to find out the program is giving the output as.

Any suggestions on this are welcome!

Posted: Thu Oct 25, 2012 2:18 pm
by William Collins
You've already posted this question elsewhere. It is not considered good etiquette to post in multiple places at the same time. Choose one to post in, if you don't get anything in a reasonable time, try somewhere else.

Posted: Thu Oct 25, 2012 7:40 pm
by DikDude
A reasonable time is a day or 2, not a couple of hours.

As this was posted first, i'll delete the other unless there is some reason to keep the other one. . .

Posted: Fri Oct 26, 2012 10:11 am
by Shivankoo
Hi,

I am having an interview tomorrow as well. I was wondering if someone would ask the same question in this interview what ans should I be giving this time to satisfy interviewee.Thanks a bunch William.

Posted: Fri Oct 26, 2012 8:39 pm
by DikDude
The answer i would give to "how would you analyze a COBOL program?" is:
"This would depend on the kind of program it is and why the analysis was being done".

I know of no "generic" program analysis process.