Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
C—Copy Lines z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The C (copy) line command copies lines from one location to another. Syntax>>-C--+---+---------------------------------------------------->< '-n-' >>-CC----------------------------------------------------------><
DescriptionTo copy one or more lines within the same data set or member:
To copy a block of lines within the same data set or member:
Note: Only blank characters in the
lines specified with O or OO are overlaid with characters in the corresponding
columns from the source lines. Characters that are not blank are not
overlaid. The overlap affects only those characters within the current
column boundaries.
To copy lines to another data set or member:
Note: To copy lines into an existing
data set or member without replacing that data set or member, edit
the existing data set or member and use the COPY primary or macro
command.
ExamplesThe example in Figure 1 shows how to copy data by using the C and B line commands. Type C in the line command field of the line you want to copy. Type B in the line command field of the line that you want the copied line to precede. Figure 1. Before the C (Copy) line command
When you press Enter, the line where you typed the C command
is copied preceding the line where you typed the B command, as shown
in Figure 2.
Note: If you press Enter
before specifying where you want the data to go, the editor displays
a MOVE/COPY pending message at the top of the panel.
The line is not copied until you specify a destination.
While in MOVE/COPY pending mode, you can issue FIND and LOCATE primary commands, but you cannot use a CHANGE command to change data until after the copy completes. Figure 2. After the C (Copy) line command
|
Copyright IBM Corporation 1990, 2014
|