skip book previous and next navigation links
go up to top of book: HP OpenVMS System Manager's Manual, Volume 1:... HP OpenVMS System Manager's Manual, Volume 1:...
go to beginning of chapter: Using Files and Directories Using Files and Directories
go to previous page: Controlling Access to ODS-5 Volumes Controlling Access to ODS-5 Volumes
go to next page: Getting File InformationGetting File Information
end of book navigation links

Using DCL Commands with Files  



You use the DIGITAL Command Language (DCL) to perform a number of operations on files, as shown in the following table.

Operation DCL Command
Retrieve disk and magnetic tape file information, such as device and protection characteristics, and display this information on your terminal screen
SHOW commands listed in DCL Commands to Display Ownership and Protection
Modify disk file characteristics, such as protection or UIC information
SET commands listed in DCL Commands to Modify File Protection Characteristics
Display the contents of a directory
DIRECTORY
Display the contents of a file
TYPE
Copy files to and from disk and magnetic tape volumes
COPY

Most DCL commands require file-structured devices. (The HP OpenVMS DCL Dictionary lists commands that do not require file-structured devices.)

In addition to manipulating files through DCL, you can write programs to assist you in routine file-manipulation tasks. You can write these programs in any of the languages supported by the operating system.

To manipulate individual records within files (that is, to access files at the record level), write programs that include OpenVMS Record Management Services (RMS) facilities. Refer to the OpenVMS Record Management Services Reference Manual for examples of RMS facilities used to manipulate files at the record level.


go to previous page: Controlling Access to ODS-5 Volumes Controlling Access to ODS-5 Volumes
go to next page: Getting File InformationGetting File Information