Paqe of GC20-1819-2 As Updated April 1, 1981 by TNL GN2S-0826 Note that if a TEXT file contains control changes for the terminal,
the edit lines may not be displayed in their true form. Therefore, it
is you do not use the editor for TEXT files, because the
results are unpredictable. Instead, use the TYPE and/or PRINT com.ands
with the HEX option to display TEXT decks. Put TEXT decks into a TXTLIB and ZAP the TXTLIB to modify the TEXT deck. FILErYPES FOR FILES The filetvpes of files created by the assembler and lanquage processors for use as temporary work files are: SYSUT1 SYSUT2 SYSUT3 SYSUT4 SYS001 SYS002 SYS003 SYS004 SYS005 SYS006 CMS all SYSUTx and SYSOOx files as temporary files.
The :MS command, executing VSAM utility functions, uses two
workfiles that have filetypes of LDTPDI1 and LDTFDI2.
Disk spa=e is allocated for temporary files on an as-needed basis.
Thev are erased when processinq is complete. If a proqram you are
executina is terminated before completion, these vorkfiles may remain on vour nisk. Vou can erase them.
The filetvpe is used by CMS commands that create files on your The CMSUT1 file is used as a workfile and is erased when the
file is When a command fails to complete execution properly,
the file mav not be erased. Note that CMSUT1 files are reserved
for system usaqe and that usinq them for your own purposes viII lead to
unpredictable results. - The :ommands, and the filenames they assign to files they create, are
listed below. COPYFILE DISK LOAD EDIT INCLUDE LOAD READCARD TAPE LOAD (J1?DATE COPYFILF DISK EDIT D"!SLDR DMSLDR D"!SLB'i READCARD TAPF. fn (the filename of the UPDATE file) PILETYPES FOR DOCUMENTATION There are two :"!s reserved filetypes that accept uppercase and lowercase input iata. are MEMO and SCRIPT. You can use MEMO files to docament notes or to write reports. The SCRIPT filetvpe is used
by the SCRIPT command, which invokes a text processor that is an IBM Installed User Proqram (IUP). SO IBM User's Guide
Page of GC20-1819-2 As Updated April 27, 1981 by TNL SN25-0828 For 5748-XE1 Filemode Letters and Numbers
The filemode field of a CMS file identifier has two characters: the
filemode letter and the filemode number. The filemode letter is
established by the ACCESS command and specifies the virtual disk on
which a file resides: A through Z. The filemode number is a number from
o to 5, which you can assign to the file when you create it or rename
it; if you do not specify it, the value defaults to 1. How you access
your disks and what filemode letters you give them with the ACCESS command depends on how you want to use the files that are on them.
For most of the reading and writing you do of files, you use your
A-disk, which is also known as your primary disk. This is a read/write
disk. You may access other disks in your configuration, or access
linked-to disks, in read-only or read/write status, depending on whether
you have a read-only or read/write link.
When you load CMS (with the IPL command), your virtual disk at
address 191 is accessed for you as your A-disk. Your virtual disk at
address 190 (the system disk) is accessed as your S-diski and the disk
at 19E is accessed as an extension of your S-disk, with a mode letter of Y. Because S- and Y-disks are accessed only for Mode S2 and Y2 files,
you must use these modes when accessing them (ACCESS 190 S * * S2, or ACCESS 19E Y * * Y2). In addition, if you have a disk defined at
address 192 and it is CMS formatted, it is accessed for you as your
D-disk. If the 192 disk has not been formatted, CMS will do it
automatically and label the minidisk ·SCRTeH'. If ACCESS is the first command issued after an IPL of the CMS system,
only the A-disk is not automatically defined. Another ACCESS command
must be issued to define the A-disk.
The actual letters you assign to any other disks (and you may
reassign the letters A, D, and Y), is arbitrary; but it does determine
the CMS search order, which is the order in which CMS searches your
disks when it is looking for a file. The order of search (when all disks
are being searched) is alphabetical: A through Z. If you have duplicate
file identifiers on different disks, you should check your disk search
order before issuing commands against that filename to be sure that you
will get the file you want. You can find out the current search order
for your virtual disks by issuing the command:
query search You can also access disks as logical extensions of other disks, for
example:
access 235 b/a
The "/A" indicates that the B-disk is to be a read-only extension of the
A-disk, and the A-disk is considered the "parent" of the B-disk. A disk
may have many extensions, but only one level of extension is allowed.
Note that if you ACCESS a disk as a logical extension and it does not
contain any files, the access will fail and will return the message: DMSACCOGOE FILE NOT FOUND Section 4. The CMS File System 51
Previous Page Next Page