Changing Files; Displaying A File On Your Screen; Adding Lines - IBM Professional Series User Manual

Virtual machine
Table of Contents

Advertisement

You should be familiar with all the commands except the
last. You already know that when you edit a file, the PF
keys have various functions. If you would rather have one or
more PF keys set to different commands, you can do this in
the PROFILE XEDIT file. The command has the format:
SET PFn command
You substitute the number of the PF key for "n," and you
substitute the command you want assigned to that PF key for
"command." In our example, we have assigned the FILE
command to PF 12. After this file is put on disk, pressing
PF 12 would do the same thing as entering the FILE
command.
Changing Files
This section discusses the commands that display a list of
your files, add new lines, take out lines, duplicate, move, and
copy lines, locate and change data in a file, combine files,
and sort data in a file.
Displaying a File on Your Screen
To work on a copy of a file that is on your disk, use the
XED IT command:
XEDIT filename filetype filemode
If the filemode is a, you don't have to type it.
A copy of the file appears on your screen, but the original is
still on your disk.
It
remains unchanged until you enter a
FILE or SA VB command.
Adding Lines
One way to add a line of information is by using the INPUT
command. Another way is to use a prefix command that adds
a blank line.
It
is called a prefix command because you type
it in the prefix area, not on the large arrow command line.
Once the blank line is added, you type the new data in that
line.
Chapter 5. Using VM/PC Commands to do Work
5-13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vm/pc

Table of Contents