Previous Page | Next Page

Functions and CALL Routines under OpenVMS

MOPEN Function: OpenVMS



Opens a file by directory ID and member name, and returns either the file identifier or a 0.
Category: External Files
OpenVMS specifics: Valid values for directory-id
See: MOPEN Function in SAS Language Reference: Dictionary

Syntax
Details
See Also

Syntax

MOPEN(directory-id,member-name<,open-mode <,record-length<,record-format>>>)

Note:   This is a simplified version of the MOPEN function syntax. For the complete syntax and its explanation, see the MOPEN function in SAS Language Reference: Dictionary.  [cautionend]

directory-id

is a numeric variable that specifies the identifier that was assigned when the directory was opened (generally by the DOPEN function).


Details

The MOPEN function returns the identifier for the file, or 0 if the file could not be opened.


See Also

Previous Page | Next Page | Top of Page