Table Edit
Data is entered into COPE as rows within tables. Some COPE facilities have multiple row-types in one table. These facilities will have a selection panel, where you select the particular row-type you wish to work on. Once selected, you are in full-screen edit on a "flat" table, containing rows of the same type. Many COPE functions work directly on flat tables, without a row-type selection panel appearing.
An example full-screen table edit panel is shown in the following figure, followed by a description of each line in the panel. It is very similar in operation to ISPF Edit.
Example Table Edit Menu

The following is a description of the fields on the above screen:
Line 1
The top line of each panel indicates the function being accessed, for example, "Group within Project - Table Data Panel". The message "ROW 1 OF n" at the end of line 1 indicates that the first row of a n-row table is being displayed.
Line 2
Line 2 contains the familiar command and scroll amount fields. The scroll amount supports the standard ISPF values of PAGE, HALF and CSR. Use the standard PF keys to scroll up, down, left and right. Commands that can be entered on the command line are shown on Line 4, and are:
Commands:-
REPORT
Prints a report showing the contents of the table. This is useful for debugging.
SHOOT
Zooms in on whatever row the cursor is positioned on. Usually SHOOT is assigned to a PF key.
POPUP
Displays a menu list of all available Table Edit commands. The commands are divided into "Special" commands, that are unique to the data being displayed, and "Standard" commands, that are applicable to all Table Edit displays.
FIND
Search for a string. The syntax is:
Where:
The characters to find, quoted or un-quoted (using single or double quotes.)
A column number in the displayed table.
A column number equal to or greater than <start-col>. For example, the command "F XYZ 1 2" will search the first 2 columns ("fields") of the displayed table, for the string "XYZ". Start-col and end-col are option parameters.
A character-position number to start the search from within each column. The first character position in each column is 1.
A character-position number greater than or equal to start-char. Start-char and end-char are optional numbers that further restrict the search within the columns. For example, "F XYZ 1 2 4 10" will search columns 1 and 2 for the string "XYZ", but will only examine the 4th through the 10th character positions in these columns.
LEFT
Same as PF10, except that the command may be followed by a numeric value indicating the number of columns to shift.
RIGHT
Same as PF11, except that the command may be followed by a numeric value indicating the number of columns to shift.
DOWN
Same as PF8, except that the command may be followed by a numeric value indicating the number of rows to scroll.
UP
Same as PF7, except that the command may be followed by a numeric value indicating the number of rows to scroll.
Line 3
If the displayed table contains more columns than will fit across the screen, the "MORE -->" indicator is shown on the right end of Line 3. An arrow is used to indicate the scroll direction in which more data is available. Use PF11 to scroll to additional columns on the right, and PF10 to scroll left.
Line 4
Documents the primary commands available on the current screen, as described above. Any additional "view" (special) commands available in the current context are shown on the right side of Line 4. On the example panel above, DRAW is shown as an available view command. In this example, DRAW produces a graphical representation of the Libset hierarchy.
Line 5
Documents the available row commands ("Rcds"). Row commands are entered in the first field on each row, and are similar to the commands available in ISPF Edit. They are:
S
Select the row. "Shoots", or zooms in, on the row, showing all the fields of the row on multiple screen lines.
R
Repeat the row
I
Insert a blank row after the current row
D
Delete the row
C
Copy the row elsewhere in the table. The standard A. (After) and B (Before) destination markers are available.
M
Move the row elsewhere in the table. Use the A (After) or B (Before) destination marker to indicate the destination for the moved row.
DD
Block Delete, as in ISPF Edit. Mark the first row to be deleted with a DD, then scroll to the last row to be deleted, mark it with a DD, and press Enter.
RR
Block repeat, as in ISPF Edit. Mark the block to be repeated by entering RR next to the first line in the block and then scrolling and marking the last line with another RR. Pressing Enter will cause the block to be repeated. Optionally, a number can be entered next to the first RR, to specify the number of times the block is to be repeated.
Lines 6-7
These are the column titles for the particular table being displayed. In the example display, the first two columns are titled "PROJECT NAME" and "GROUP NAME".
Line 8 onwards
The remaining lines of the screen display one table row per line.
This section provides information about the following topic: