April 27, 1981 USING PROGRAM FUNCTION KEYS You can enhance the use of the CMS editor on a 3270 by setting the
proqram function(PF) keys on your terminal to correspond to some of the
more frequently used EDIT subcommands, such asUP, DOWN, SCROLL, FILE, SAVE, and so on. You can also set a program function key to contain a
line of data, so that if you are creating a file that has many duplicate
lines in it, you can use thePF key instead of having to key in the
entire line each time.PF keys cannot, however, contain lowercase
character strinqs.You can set a program function key whi Ie you are in edit mode either
by using thePA1 key --REQ key on a 3278 Model 2A to enter the CP environment or by using the #CP function. USING THE EDITOR IN LINE MODE The editor's display mode is the most common format of operation on a
3270. There are, however, instances when it is not possible or not
desirable to use the editor in display mode. For these instances, you
should use the line mode of operation, which is the equivalent to using
a typewriter terminal.When you use line mode, each EDIT subcommand you
enter, and the response (if you have verification on), is displayed, a
line at a time, on the screen in the output display area. There is no
full screen display of the file.You need only be concerned with using line mode if you are connected
toVM/370 by a remote 3270 line, or if you are editing a file from
within an EXEC andyou want to control the screen display. Although it
is possible to use the editor in line mode on a local3270, it is rarely
necessary for normal editinq purposes.When you invoke the editor from a remote 3270, you are placed in line
mode by the editor. The advantage of using the3270 in line mode
(particularly on a remote editor) is that the editor can respond more
quickly to display requests.When you use display mode, the editor has
to write out the entire output display area when you move the current
line pointer; in line mode, it has only to write a single line.
If you want to use display mode, you enter the EDIT subcommand:
format display
The editor begins operating in display mode, and you can use the special
editing functions available in display mode.
However, when you are using a remote3270 in display mode, and you
enter theINPUT subcommand to begin entering input lines, the screen is
cleared, and your input lines are displayed as if you were in line mode,
beginning at the top of the screen.When you enter a null line to return
to edit mode, the editor returns to a full screen display.You can resume editing in line mode by using the subcommand:
forma t line
348IBM VM/370 CMS User's Guide
proqram function
more frequently used EDIT subcommands, such as
line of data, so that if you are creating a file that has many duplicate
lines in it, you can use the
entire line each time.
character strinqs.
by using the
3270. There are, however, instances when it is not possible or not
desirable to use the editor in display mode. For these instances, you
should use the line mode of operation, which is the equivalent to using
a typewriter terminal.
enter, and the response (if you have verification on), is displayed, a
line at a time, on the screen in the output display area. There is no
full screen display of the file.
to
within an EXEC and
is possible to use the editor in line mode on a local
necessary for normal editinq purposes.
mode by the editor. The advantage of using the
(particularly on a remote editor) is that the editor can respond more
quickly to display requests.
to write out the entire output display area when you move the current
line pointer; in line mode, it has only to write a single line.
If you want to use display mode, you enter the EDIT subcommand:
format display
The editor begins operating in display mode, and you can use the special
editing functions available in display mode.
However, when you are using a remote
enter the
cleared, and your input lines are displayed as if you were in line mode,
beginning at the top of the screen.
to edit mode, the editor returns to a full screen display.
forma t line
348