What are differences between COBOL and java ? why we are
giving more preference to COBOL ?
Answers were Sorted based on User's Feedback
Answer / ragahvendra
Cobol is a structured language where as Java is a High level
and Object oriented Language. Cobol has extensive facilities
for report generation.
Is This Answer Correct ? | 15 Yes | 3 No |
Answer / vish
What I believe is 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.
Any comments/suggestions are welcome!!!
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / kprasad
Few differences I can list down as following
1)Originally and still mostly Cobol is structured prog
langualge. Offcour se there are now a days OOD concepts in
cobol also. Bust still baasically it is structured prog.
lang. On the other hand Object Orientation is the base of
Java.
2) Cobol is developed for and still used for Business
Processing. You can have your business processing modules,
DB interaction modules in cobol. I haven't heard cobol used
for any system level prog or web developement or UIs. But
Java can be used along all layers of application from
presentation to business layers. Also now a days Sun has
developed JMV using Java itself.
3) Cobol compilers are platform dependent I suppose. Java
is platform independent.
4) Cobol is a lunguage as such but looking at the current
developmet Java has become more than a lunguage, a platform.
5) Cobol is not providing not many built in functions,
libraries like java
Is This Answer Correct ? | 6 Yes | 3 No |
CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?
How to read the last 100 records from a COBOL file. The file contains N number of records.
Why we are using comp and comp-3 in real time projects?
Why would you use find and get rather than to obtain?
is it possible to declare index in cobol program? if it is not why its tell me pls
input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.
IF there 5 to 6 files in a JCL and there is some space abends, how can we identify which file has space abend and what can be done to get off that abend or rectify that abend.
diffrence between z(2) and z9(2)
how to check whether the open command of a sequential file is successful? or not?
what is ASRA, AEY9?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?