What are differences between COBOL and java ? why we are
giving more preference to COBOL ?
Answer Posted / 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 |
Post New Answer View All Answers
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
how to refer the data field?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What is the local-storage section?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
How do you reference the following file formats from cobol programs?
How you can read the file from bottom?
What are the different rules for performing sort operation?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What are the different rules to perform a Search?
IF I mention stop run in CICS what happens?
What is a SSRANGE and NOSSRANGE?
Why would you use find and get rather than to obtain?