DOPTNUM Function: z/OS

Returns the number of information items that are available for a directory.
Category: External Files
z/OS specifics: Return value
See: DOPTNUM Function in SAS Functions and CALL Routines: Reference

Syntax

DOPTNUM(directory-id)

Required Argument

directory-id
specifies the identifier that was assigned when the directory was opened, generally by the DOPEN function.

Details

Currently, the number of information items that are available for a PDS directory is 7, for a PDSE directory is 8, and for a UNIX System Services directory is 7.
For code examples, see DINFO Function: z/OS.