Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


Defining a user-defined class

Use the CLASS clause to give a name to a set of characters that you list in the clause.

For example, name the set of digits by coding the following clause:

CLASS DIGIT IS "0" THROUGH "9"

You can reference the class-name only in a class condition. (This user-defined class is not the same as an object-oriented class.)


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)