Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

COBOL for System Programming

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
yaju4ever
Warnings : 1

New User


Joined: 30 Sep 2006
Posts: 19
Location: mumbai

PostPosted: Thu Dec 07, 2006 12:05 pm    Post subject: COBOL for System Programming
Reply with quote

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
View user's profile Send private message

cobolunni

Active User


Joined: 07 Aug 2006
Posts: 128
Location: kerala,india

PostPosted: Thu Dec 07, 2006 12:25 pm    Post subject:
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Dec 08, 2006 12:54 am    Post subject:
Reply with quote

Are you serious?

O.
Back to top
View user's profile Send private message
muthukannan

New User


Joined: 03 Aug 2006
Posts: 42
Location: Chennai

PostPosted: Fri Dec 08, 2006 9:01 am    Post subject: Re: Is COBOL platform Independent like JAVA
Reply with quote

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
View user's profile Send private message
cobolunni

Active User


Joined: 07 Aug 2006
Posts: 128
Location: kerala,india

PostPosted: Fri Dec 08, 2006 9:57 am    Post subject:
Reply with quote

ofer71 wrote:
Are you serious?

O.


absolutely not
Back to top
View user's profile Send private message
muthukannan

New User


Joined: 03 Aug 2006
Posts: 42
Location: Chennai

PostPosted: Fri Dec 08, 2006 4:28 pm    Post subject: Serious...
Reply with quote

Yeah i do.

Thank you, icon_rolleyes.gif
MK
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Dec 08, 2006 4:33 pm    Post subject:
Reply with quote

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
View user's profile Send private message
cobolunni

Active User


Joined: 07 Aug 2006
Posts: 128
Location: kerala,india

PostPosted: Fri Dec 08, 2006 4:36 pm    Post subject:
Reply with quote

hello ofer71 can you please explain what needs of system programers is satisfied by cobol
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Dec 08, 2006 6:12 pm    Post subject:
Reply with quote

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 icon_rolleyes.gif
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
View user's profile Send private message
yaju4ever
Warnings : 1

New User


Joined: 30 Sep 2006
Posts: 19
Location: mumbai

PostPosted: Fri Dec 08, 2006 8:26 pm    Post subject: Re: Is COBOL platform Independent like JAVA
Reply with quote

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
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Dec 08, 2006 8:47 pm    Post subject:
Reply with quote

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
View user's profile Send private message
yaju4ever
Warnings : 1

New User


Joined: 30 Sep 2006
Posts: 19
Location: mumbai

PostPosted: Fri Dec 08, 2006 10:27 pm    Post subject:
Reply with quote

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
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Dec 08, 2006 10:37 pm    Post subject:
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Dec 10, 2006 9:54 am    Post subject:
Reply with quote

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
View user's profile Send private message
cobolunni

Active User


Joined: 07 Aug 2006
Posts: 128
Location: kerala,india

PostPosted: Mon Dec 11, 2006 10:34 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Overlay the system date Danielle.Filteau SYNCSORT 4 Fri Mar 03, 2017 1:16 am
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us