ACCESS ACCESS Use the ACCESS command to identify a disk to CMS, establish a filemode
letter for the files on the disk, and set up a file directory in
storage. The specifications of the ACCESS command determine the entries
in the user file directory. The format of the ACCESS command is: r- --, , , r .. , , ACcess , cuu moder/ext [fn [ft [fm]]]] [ (N 0 PRO F [) ]] I , , , 121 * * * I I , , 1 I , , cuu mode (ERASE [)] , , , , , , , , (NODISK [) ] I I I I L JI , L -JI cuu makes the disk at the specified virtual device address
available. The default value is 191.
Valid addresses are 001 througn 5FF for a virtual machine in
basic control mode, and 001 through FFF for a virtual machine
in extended control mode.
mode assigns a one-character filemode letter to all files on the
disk being accessed. This field must be specified if cuu is
specified. The default value is A. ext indicates the mode of the parent disk. Files on the disk
being accessed (cuu) are logically associated with files on
the parent disk; the disk at cuu is considered a read-only
extension. A blank must not precede or follow the diagonal
(/) .
fn [ft [fm]] NOPR:)F ER ASE NJDISK defines a subset of the files on the specified disk. Only the
specified files are included in the user file directory and
only those files can be read. An asterisk coded in any of
these fields indicates all filenames, filetypes, or filemode
numbers (except 0) are to be included. (See Usage Notes 3 and
4.) If a fi lemode is specified, it must be specified as a
letter and a number. For OS and DOS disk access restrictions,
see Usage Note 9.
suppresses execution of a PROFILE EXEC file. This option
is valid only if the ACCESS command is the first command
entered after you IPL CMS. On subsequent ACCESS commands, the NOPROF option is ignored.
specifies that you want to erase all of the files on the
specified disk. This option is only valid for read/write
disks. (See U sage Note 7. lets you gain access to the CMS operating system with no
disks accessed except the system disk (S-disk) and its
extensions. This option is only valid if the ACCESS command is the first command you enter after you IPL eMS. 16 IBM VM/370 CMS Command and Macro Reference
ACCESS 1. If you have disk addresses 190, 191, 192, and 19E defined in the VM/370 directorv, or if they are defined before you IPL CMS, these
disks are accessed as the S-, A-, D-, and Y-disks respectively. You must issue explicit ACCESS commands to access any other disks
vou wish to use following an IPL of the CMS system. Ordinarily,
you have access only to files with a filemode number of 2 on the
system disk. When ACCESS is the first command issued after an IPL of the CMS system, the A-disk is not automatically defined. Another ACCESS command must be issued to define the A-disk.
2. Each CMS disk has associated with it a master file directory, which
contains an entry for every CMS file on the disk. The user file
directory created in storage by the ACCESS command contains entries
for only those files that you can reference. should issue an ACCESS command every time you link to a new
minidisk with the CP LINK command, to obtain the appropriate file
directory.
3. The filename, filetype, and filemode fields can only be specified
for disks that are accessed as read-only extensions. For example:
access 195 b/a * assemble
gives you read-only access to all the files with a filetype of ASSEMBLE on the disk at virtual address 195. The command:
access 190 z/a * * zl gives you access to all files on the system disk (190; that have a
filemode number of 1. When you access any disk in read-only status, files with a filemode
number of 0 are not accessed.
4. can also identify a set of files on a disk by referring to a
filename or filetype prefix. For example:
access 192 cIa abc*
accesses only those files in the disk at virtual address 192 whose
filenames begin with the characters ABC. The command line:
access 192 cIa * a* c2
gives you access to all files whose filetypes begin with an A and
which have a filemode number of 2.
5. can force a read/write disk into read-only status by accessing
it as an extension of another disk or of itself; for example:
access 1
0 1
a/a
forces your A-disk into read-only status.
6. When a disk is made a read-only extension of another disk, commands that typicallv require or allow you to specify a filemode may
search extensions of the specified disk. The exceptions to this
are the LISTFILE and DISK DUMP commands. For a detailed
description of read-only extensions, see the Section 2. CMS Commands 17
Previous Page Next Page