How would you analyse a COBOL program?

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
Shivankoo
Member
Posts: 14
Joined: Mon Dec 13, 2010 4:15 pm

How would you analyse a COBOL program?

Post by Shivankoo » Thu Oct 25, 2012 2:05 pm

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!
Thanks and Regards
Shivankoo Sharma

//EMPIRE EXEC PGM=WIFE
//SYSIN DD DSN=VARSHA.ME.HOME,DISP=SHR
//SYSOUT DD DUMMY

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Thu Oct 25, 2012 2:18 pm

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.

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Thu Oct 25, 2012 7:40 pm

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. . .
Have a good one

Shivankoo
Member
Posts: 14
Joined: Mon Dec 13, 2010 4:15 pm

Post by Shivankoo » Fri Oct 26, 2012 10:11 am

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.
Thanks and Regards
Shivankoo Sharma

//EMPIRE EXEC PGM=WIFE
//SYSIN DD DSN=VARSHA.ME.HOME,DISP=SHR
//SYSOUT DD DUMMY

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Fri Oct 26, 2012 8:39 pm

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.
Have a good one

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others