Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cobol or Focus?

Status
Not open for further replies.

BigMag

IS-IT--Management
Jul 10, 2001
68
NL
Anyone experience with both?

Greetz,

BigMag

BigMag, The Netherlands.
bigmag@chello.nl
 
Hi BigMag,

I use both at my current site. The online system is written in Cobol and the majority of the reports are written in Focus.

My personal opinion:
Cobol is slower to develop, particularly if you are talking about simple reports, where Focus is streets ahead. This is the only area where Focus wins.

Cobol is easier to understand and maintain, better structured, and quicker to run. The way Focus programs have been written here, they tend to be monolithic, and often repeat sections of SQL in order to mix and match the data they want.

No one here has attempted to use Focus to update our DB2 tables. Although I believe it can be done, this has steered clear of it, so I can't really comment, other than to say that Cobol can and does this with ease.

In summary, if you have simple reports, use Focus. For complex reports, and online processing, use Cobol.

As I said at the beginning, this is just my opinion, based on usage of both languages.

Marc
 
If you work in an environment with a lot of COBOL definitions in other programs or dictionaries, it is possible to let a lot of work be done by a generator which can be developed by your own departement.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top