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
liCCESS 7. If you enter the ERliSE option by mistake you can recover from the
error as long as you have not yet written any new files onto the
disk. ('!'hat is, you have not yet caused CMS to rewrite the master
file directory.) Reissue the ACCESS command without the ERASE option. q. You should never attempt to access a disk in read/write status if
another user already has it in read/write status; the results are
unpredictable.
Q. When accessing as and DOS disks: a. You cannot specify filename, filetype and filemode when you
access as or DOS disks, nor can you specify any options.
b. In order to see as and DOS disks, you must have a read/write CMS A-disk available if you are going to use the LOAD command
with the MAP option. (MAP is a default option.) 10. If two or more disks have been accessed in CMS, and CP DEFINE
commands are executed that swap virtual addresses, then a
subsequent RELEASE command may write the master file directory on
the wrong aisk: for example: (CMS) (CM S) (CP) (CP) (CMS) liCCESS 193 C ACCESS 198 E
DEFINE 193 293
DEFINE 198 193 RELEASE C '!'his sequence of commands will write the master file directory from
lQ3 to 198 since the CP definitions are unknown to CMS. DM SACC12 3 I mode (cuu) {
R/O}
R/W
r , I-OS I I-DOSI L J
If the specified disk is a CMS disk, this message is displayed if
the disk is read-only. If the disk is in as or DOS format, the
message indicates the format, as well as whether it is a read/write
or read-only disk. DMSliCC
7 24I
cuu1 REPLACES mode(cuu2)
Before execution of the command, the disk represented by cuu2 was
the "mode" disk. The disk, cuul, is now assigned that filemode
letter. This message is followed by message DMSACC726I. DMSACC
7 25I
cuu ALSO r , • mode' I-OS I DISK I-DOSI L J The disk specified by cuu is the mode disk and an A:CESS command
was issued to assign it another filemode letter. DMS1\CC 7 26I 'cuu mode' RELEASED The disk being accessed at virtual address cuu as a read/write disk
is already accessed at a different mode. It is released from that moGe. Or, a disk currently accessed at mode is being replaced. lq IBM Command and Reference
Previous Page Next Page