IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Why we need to use both Cobol as weel as Natural


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
naveen_desireddy

New User


Joined: 29 Aug 2005
Posts: 10
Location: Hyderabad, India

PostPosted: Wed Feb 01, 2006 12:41 pm
Reply with quote

As i have worked in almost 3 projects, I found that every where Natural & Cobol both have been used as most of the Database will be in ADABAS, and calculation part will be on Cobol and the Other part will be on Natural.

Can any one extend this why we need to use both Cobol as weel as Natural

Cant we do the same Using only Natural or Using only Cobol

As per my Knowledge In Natural we can code all the things equivalent to Cobol and Cobol can Do the same Except some Online Part as we need CICS for that

can any one differentiate between these two languages apart from basic differences (Like Natural is 4th Gl, For Cobol Online Part is difficult...........)
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Feb 01, 2006 5:32 pm
Reply with quote

You can do the same in both languages. However, each language has its own strengths. For example: COBOL is better with mathematical and business functions. There are only basic functions in NATURAL, but it's the easiest language to interact with ADABAS, which is (IMHO) the best database ever.
Back to top
View user's profile Send private message
naveen_desireddy

New User


Joined: 29 Aug 2005
Posts: 10
Location: Hyderabad, India

PostPosted: Thu Feb 02, 2006 2:43 pm
Reply with quote

naveen_desireddy wrote:
As i have worked in almost 3 projects, I found that every where Natural & Cobol both have been used as most of the Database will be in ADABAS, and calculation part will be on Cobol and the Other part will be on Natural.

Can any one extend this why we need to use both Cobol as well as Natural

Cant we do the same Using only Natural or Using only Cobol

As per my Knowledge In Natural we can code all the things equivalent to Cobol and Cobol can Do the same Except some Online Part as we need CICS for that

can any one differentiate between these two languages apart from basic differences (Like Natural is 4th Gl, For Cobol Online Part is difficult...........)
Back to top
View user's profile Send private message
utkarshtewari

New User


Joined: 26 Mar 2007
Posts: 9
Location: UK

PostPosted: Fri Jun 22, 2007 3:48 pm
Reply with quote

Hi.....
Have worked on both but i found Natural/ADABAS much easier to code and understand. Can someone highlight a few points where COBOL takes lead.

Ofer71 : If you can just elaborate on "COBOL is better with mathematical and business functions" with examples.

Thanks,
Utkarsh
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Jun 24, 2007 1:14 pm
Reply with quote

utkarshtewari -

The first thing to remember is that NATURAL is interpreted while COBOL is compiled. There is a huge performance advantage to COBOL when running batch processes.

Another advantage is that COBOL "speaks" with DB2 more naturally. Indeed, you can access DB2 from NATURAL, but it's somewhat cumbersome.

Regarding the functions: Simply compare the bumber of built in functions in NATURAL and the number of built in functions + LE Callable Services available for COBOL. You'll get the picture.

I still agree with you, however, that working with NATURAL/ADABAS is like cutting a butter with a knife, while working in COBOL is a little harder.

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

New User


Joined: 26 Mar 2007
Posts: 9
Location: UK

PostPosted: Tue Jun 26, 2007 12:47 pm
Reply with quote

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

New User


Joined: 08 Jun 2007
Posts: 71
Location: Zoetermeer, the Netherlands

PostPosted: Tue Jun 26, 2007 4:28 pm
Reply with quote

How about costs.
How much longer are you busy developing & testing a CICS-COBOL or a IMS-MPP-COBOL program versus an online Natural program?

more than my 2 cents icon_biggrin.gif I guess
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Jun 27, 2007 10:26 am
Reply with quote

How about the license costs SAG charges lately? icon_sad.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top