View previous topic :: View next topic
|
Author |
Message |
yaju4ever Warnings : 1 New User
Joined: 30 Sep 2006 Posts: 19 Location: mumbai
|
|
|
|
DEAR GROUP MEMBERS PLEASE LET ME KNOW WHETHER COBOL IS PLATFORM INDEPENDENT LIKE JAVA AND WHAT ARE DISADVANTAGES OF USING COBOL AS PROGRAMMING LANGUAGE.
Warning: Title Edited |
|
Back to top |
|
|
cobolunni
Active User
Joined: 07 Aug 2006 Posts: 127 Location: kerala,india
|
|
|
|
Java and c are programing language used to code system programing but cobol is mainly used for buisiness applications in which there is no question of
platform.Cobol cannot be used in the system programing
know me if i am wrong |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Are you serious?
O. |
|
Back to top |
|
|
muthukannan
New User
Joined: 03 Aug 2006 Posts: 42 Location: Chennai
|
|
|
|
Hi,
COBOL Purely a Business language. It can't be used to code any system program.
Know me if am wrong.
Thank you,
MK |
|
Back to top |
|
|
cobolunni
Active User
Joined: 07 Aug 2006 Posts: 127 Location: kerala,india
|
|
|
|
ofer71 wrote: |
Are you serious?
O. |
absolutely not |
|
Back to top |
|
|
muthukannan
New User
Joined: 03 Aug 2006 Posts: 42 Location: Chennai
|
|
|
|
Yeah i do.
Thank you,
MK |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
muthukannan -
Please check your resources again. I've seen many system programmers using COBOL for their needs; from the other hand, there are many business application written in Java and C.
O. |
|
Back to top |
|
|
cobolunni
Active User
Joined: 07 Aug 2006 Posts: 127 Location: kerala,india
|
|
|
|
hello ofer71 can you please explain what needs of system programers is satisfied by cobol |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
cobolunni wrote: |
Java and c are programing language used to code system programing but cobol is mainly used for buisiness applications in which there is no question of
platform.Cobol cannot be used in the system programing
know me if i am wrong |
Poppycock
C is the system code for unix, I doubt much about Java and COBOL is more oriented to business applications but generally once it has been compiled it is all equivalent to assembler, i.e., machine specific code. |
|
Back to top |
|
|
yaju4ever Warnings : 1 New User
Joined: 30 Sep 2006 Posts: 19 Location: mumbai
|
|
|
|
as per the above discussion still i am not able to understand whether cobol is platform independent,,,,let me know abt this point.... |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Uncompiled COBOL is almost platform independant.
The major platform dependency lies in the input-output section, the program's interface with the hardware.
Cobol written without taking advantage of the compiler's extentions should compile under most if not all compilers and run on most if not all platforms. |
|
Back to top |
|
|
yaju4ever Warnings : 1 New User
Joined: 30 Sep 2006 Posts: 19 Location: mumbai
|
|
|
|
well as per my knowledge cobol can not be used for developing system applications....coz there are no provisions for hardware interactions like in c we can use assembly language using ASM option in the coding sheet....so it is possible to opreate hardwares through language commands....correct me if i am wrong.... |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
What does this have to do with platform independence?
Just about all things doable can be done with COBOL, maybe not the best tool for some things but doable.
What "hardware interactions" are you referring to?
COBOL can also use assembly language. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
COBOL pgms cannot modify system cntl blks and data areas.
Only recently, with the advent of the POINTER facility has COBOL been able to access (but not modify) system cntl blks, etc.
So I'd have to agree that COBOL doesn't lend itself to syspgming. Assembler is the tool of choice for that in the current zOS environment. |
|
Back to top |
|
|
cobolunni
Active User
Joined: 07 Aug 2006 Posts: 127 Location: kerala,india
|
|
|
|
No program can be platform independent even java is not platform independent without JVM . So without a virtual machine to run that program it will not be a platform independent language
Quote: |
Uncompiled COBOL is almost platform independant. |
william uncompiled program is like a text in text editor there is no question for platform for a text
Also cobol is not a platform independent language |
|
Back to top |
|
|
|