Previous Page | Next Page

Functions and CALL Routines under z/OS

DOPEN Function: z/OS



Opens a directory and returns a directory identifier value.
Category: External Files
z/OS specifics: file systems
See: DOPEN Function in SAS Language Reference: Dictionary

Syntax
Details
See Also

Syntax

DOPEN(fileref)

fileref

specifies the fileref assigned to the directory. In a DATA step, fileref can be a character expression, a string enclosed in quotation marks, or a DATA step variable whose value contains the fileref. In a macro, fileref can be any expression.


Details

DOPEN opens a directory and returns a directory identifier value (a number greater than 0) that is used to identify the open directory in other SAS external file access functions.

DOPEN applies to directory structures that are available in partitioned data sets (PDS, PDSE) and in UNIX System Services. For code examples, see DINFO Function: z/OS.


See Also

Previous Page | Next Page | Top of Page