Displays information about one or more classes in a CMS library. Format: SHOW CLASS [class-expression]
1 – Command Parameters
class-expression Specifies one or more classes to be listed. If you do not specify a class name, CMS lists all classes in the library. A class expression can be a class name, a wildcard expression, or a list of these separated by commas.
2 – Description
The SHOW CLASS command lists the names of all established classes in alphabetical order, along with the associated creation remarks.
3 – Qualifiers
3.1 /APPEND
Controls whether CMS appends the command output to an existing file, or creates a new file. If you specify /APPEND and the output file does not exist, CMS creates a new file. If you do not provide an output file specification (see the description for /OUTPUT), the output is appended to SYS$OUTPUT.
3.2 /BRIEF
The /BRIEF qualifier displays only class names.
3.3 /CONTENTS
Controls whether CMS identifies the element generations that belong to each class. If you specify /CONTENTS, CMS displays the class name and the creation remark, along with the element name and generation number for each generation in the class.
3.4 /FULL
The /FULL qualifier displays the name, creation remark, and read-only attribute (if established) for each class.
3.5 /INTERMEDIATE
The /INTERMEDIATE qualifier displays the name and creation remark for each class.
3.6 /OCCLUDE[=option,...]
Controls whether CMS selects the first instance of the specified object, or all instances of the specified object in the library search list. The options field contains one or more keywords associated with the name of the object. The options field can contain the following keywords: ALL--equivalent to CLASS CLASS (D) NOCLASS NONE--equivalent to NOCLASS You can specify either ALL, NONE, or the [NO]CLASS keyword. By default, CMS performs occlusion for all objects; that is, CMS selects only the first occurrence of a specified object.
3.7 /OUTPUT[=file-specification]
Directs CMS to write output to the specified file, except for any warning and error messages, which are written to SYS$OUTPUT and SYS$ERROR. CMS creates a new file if you do not specify /APPEND. If you omit the /OUTPUT qualifier (or if you specify /OUTPUT but do not provide a file specification), CMS directs output to the default output device (SYS$OUTPUT). If you omit either the file name or the file type component, CMS supplies the missing component from the default specification.
4 – Examples
(1) CMS> SHOW CLASS Classes in CMS Library DISKX:[RELEASE.CMSLIB] INTERNAL_RELEASE "for internal use only" MESSAGETEST "filter evolution checks" PASCAL_CLASS "PASCAL tests" This command displays the class name and the creation remark for each class in the library. (2) CMS> SHOW CLASS/BRIEF Classes in CMS Library DISKX:[RELEASE.CMSLIB] INTERNAL_RELEASE MESSAGETEST PASCAL_CLASS This command limits the output to class names only.