Thursday, July 9, 2009

In mainframe advantage of C language over Cobol?

Hi,





In my project, entire programs have been written in Cobol; however, I found a set of programs written in C language. But, I have no information why these programs have written in C instead of Cobol.





Can any one please let me know why these small set of programs written in C, if you have already come across it at any time?





Thanks.

In mainframe advantage of C language over Cobol?
There are several possible explanations and even combinations of those. It could be that source code was purchased or already existed on a different platform in the same company that made an investment in the C compiler for the mainframe worthwhile to save effort. If the programs controlled some difficult to interface hardware in an abnormal way, that could explain why they are in C. If they were written to be used in a company at a time before they were starting to change to other platforms that lend themselves to C (Unix), they may have written the code in C to make the portability better later on. Or they may simply have hired programmers or analysts with special expertise for those projects who were more familiar with and fluent in C language. Take your choice. Or take a couple of choices and combine them. If you need to know, file comments with dates and such may give you the reason outright, or at least a clue or to about the decision to use C. I hope this helps you figure it all out. Pivy


No comments:

Post a Comment