Define user functions and user data types in OO cobol



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Define user functions and user data types in OO cobol

Postby ahmad » Sat Nov 22, 2008 5:05 pm

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?
ahmad
 
Posts: 4
Joined: Sun Oct 19, 2008 6:13 pm
Has thanked: 0 time
Been thanked: 0 time

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

 

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

Postby dick scherrer » Sun Nov 23, 2008 1:18 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 92 times

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

Postby ahmad » Sun Nov 23, 2008 9:57 am

hello dear dick scherrer
thanks a lot, you're helpful as always;
ahmad
 
Posts: 4
Joined: Sun Oct 19, 2008 6:13 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby dick scherrer » Sun Nov 23, 2008 10:27 am

You're welcome - glad i could help :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 92 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post