Page 1 of 1

Define user functions and user data types in OO cobol

PostPosted: Sat Nov 22, 2008 5:05 pm
by ahmad
i wonder do we have object oriented on z/os? so if it's positive, can we define user functions and/or user data types and such capabilities of oo languages?

Re: Define user functions and user data types in OO cobol

PostPosted: Sun Nov 23, 2008 1:18 am
by dick scherrer
Hello,

i wonder do we have object oriented on z/os?
A qualified yes. . .

From IBM:
You can use Enterprise COBOL object-oriented syntax to:
Define classes, with methods and data implemented in COBOL.
Create instances of Java or COBOL classes.
Invoke methods on Java or COBOL objects.
Write classes that inherit from Java classes or from other COBOL classes.
Define and invoke overloaded methods.

The entire manual is avalable from here (which is where the quote came from):
http://publibz.boulder.ibm.com/cgi-bin/ ... y3lr10/2.2?
On the top left ot this page is an open-book icon that goes to the table of contents. The flashlight/tubelight is the search for the manual.

Re: Define user functions and user data types in OO cobol

PostPosted: Sun Nov 23, 2008 9:57 am
by ahmad
hello dear dick scherrer
thanks a lot, you're helpful as always;

Re: Define user functions and user data types in OO cobol

PostPosted: Sun Nov 23, 2008 10:27 am
by dick scherrer
You're welcome - glad i could help :)

d