Cms Files - IBM ZVM - FOR LINUX V6 RELEASE 1 Getting Started

Getting started with linux on system z
Table of Contents

Advertisement

CMS files

CMS files have a file name, file type, and file mode. File names and file types can be
up to 8 characters long. The file mode corresponds to the access mode of the
minidisk.
Examples:
PROFILE EXEC A1
MYDOC LISTING A1
DNFPFS LISTPS B1
By convention, some file types have special meanings. For example, EXEC is the
file type for a file that contains executable statements, LISTING is the file type for
text files, and LISTPS is the file type for PostScript
To view and manipulate files, use the FILELIST command. FILELIST is similar to
the dir command in Linux.
Examples of using FILELIST
1. To view all the files on your A-disk, type this command and press the Enter
key:
filelist
Result: You see something like this:
CHASTING FILELIST A0 V 169 Trunc=169 Size=253 Line=1 Col=1 Alt=0
Cmd
Filename Filetype Fm Format Lrecl
CHASTING NETLOG
KIJL0CMD HGENRPT A1 V
KIJL0CMD LOG
KIJL0CMD SCRIPT
REXEC
NETSTAT HELPTCPI A1 V
2. In the "Cmd" column, you can type commands that are issued against the file
on that line.
Example: To edit a file in the filelist, type the XEDIT command in the "Cmd"
column:
CHASTING FILELIST A0 V 169 Trunc=169 Size=253 Line=1 Col=1 Alt=0
Cmd
Filename Filetype Fm Format Lrecl
xedit CHASTING NETLOG
KIJL0CMD HGENRPT A1 V
KIJL0CMD LOG
KIJL0CMD SCRIPT
REXEC
NETSTAT HELPTCPI A1 V
3. Use "/" and "=" to avoid extra typing when you enter a command in
FILELIST. The "/" means "this file" and "=" can be used to repeat a file name,
file type, or file mode.
Example: To copy a file called REXEC HELPTCPI from minidisk A to minidisk
D, type this command and press the Enter key (typing over the other columns
is OK):
A0 V
108
119
A1 V
122
A1 V
81
HELPTCPI A1 V
79
79
A0 V
108
119
A1 V
122
A1 V
81
HELPTCPI A1 V
79
79
®
files.
Records
Blocks
Date
2132
53 10/15/03 16:02:30
13
1 10/13/03 12:00:40
131
2 10/13/03 12:00:37
454
4 10/13/03 12:00:37
133
2 10/13/03 10:26:11
749
9 10/13/03 10:25:31
Records
Blocks
Date
2132
53 10/15/03 16:02:30
13
1 10/13/03 12:00:40
131
2 10/13/03 12:00:37
454
4 10/13/03 12:00:37
133
2 10/13/03 10:26:11
749
9 10/13/03 10:25:31
Chapter 1. About z/VM
Time
Time
11

Advertisement

Table of Contents
loading

Table of Contents