Home > Software > Mainframe > Cobol
Interview Questions   Tutorials   Discussions   Programs   

Cobol - What are differences between COBOL and java ? why we are giving more preference to COBOL ?




543
views
asked mar September 10, 2014 11:45 AM  

What are differences between COBOL and java ? why we are giving more preference to COBOL ?


           

1 Answers



 
answered By Mswami   0  

COBOL is:

• Procedural language • Simple human like syntax • very fast on mainframe systems • Easy to maintain code due to syntax

Java is:

• Object Oriented • Syntax can get complicated • Requires a Java Virtual Machine to run and execute the compiled bytecode.

It’s believed that COBOL was actually the prime business language and used extensively for mainframes batch systems (although it is used recently in UNIX servers too which are in most cases migrated from mainframe system to UNIX systems). At present we have more powerful languages available than COBOL which can of course provide more value add for a system development. But still COBOL continues to be the primary development language for mainframe systems, some of the reasons could be:

  1. Almost all the existing big legacy systems were developed using COBOL. Now converting these systems to other languages is a very costly business.

  2. Most of the legacy systems using COBOL are batch systems (although they have online components using mostly CICS) and COBOL well serve the very purpose efficiently.

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert