Editor panel
You use the Editor panel to display a selected data set or data set member, scroll through the records and find and change specific information within the records. You can also use this panel to insert or delete new records, join or split existing records and copy or repeat records within the data set.
The Editor panel displays different fields, depending upon the type of data set shown and whether or not a template has been used.
Panel and field definitions
- Title
- The Title identifies the function (Edit) and the data set being used. For a PDS or PDSE member, the data set name includes the member name. Record number information, or short messages, appear to the right.
- Col
- The Col field shows the column number of the column that is currently at the far left of the data area. You can scroll to a specific column (left or right) by typing a new value. The default value for this field is 1.
- Insert length
- The Insert length field specifies the initial length of inserted records. The possible range of values is from 1 to 9999999, depending on the data set characteristics. The default value is the maximum record length as defined in the catalog. When a User I/O exit is being used, the insert length value is adjusted to the maximum length accepted by the exit for the data set being edited.
- Scale
- The Scale shows the columns of the data area.
- Prefix area (line numbers)
- Area (if displayed) displaying the record number of each line in the data set. This area also doubles as the prefix command
entry area.
You can use the following prefix commands when editing:
- A
- Identifies
the record after which data is to be moved or copied.
A
K
can be appended to the A to indicate that the source is to be used with multiple destinations. The last destination must not contain the K append so that File Manager knows the command set is complete. No part of the command set is executed until the command set is complete. - B
- Identifies
the record before which data is to be moved or copied.
A
K
can be appended to the B to indicate that the source is to be used with multiple destinations. The last destination must not contain the K append so that File Manager knows the command set is complete. No part of the command set is executed until the command set is complete. - BND
- (Available only in CHAR,
HEX and LHEX display formats.) Displays a bounds line on the following line, indicating the columns searched by
the CHANGE, FIND, and EXCLUDE commands. To change the bounds, type a
<
on the bounds line to define the left bound and a>
to define the right bound. To remove the bounds line from the display, use the D prefix command or the RESET SPECIAL primary command. - C
- Copy one record.
- Cn
- Copy n records.
- CC
- Copy block of records. Mark start and end of block.
- COLs
- Displays the column identification line (CHAR, HEX, and LHEX display formats only).
- D
- Delete one record.
- Dn
- Delete n records.
- DD
- Delete block of records. Mark start and end of block.
- F
- Display the first record of a block of excluded records.
- FC
- Changes the display format to CHAR.
- FH
- Changes the display format to HEX.
- FL
- Changes the display format to LHEX.
- FS
- Changes the display format to SNGL.
- FT
- Changes the display format to TABL.
- Fn
- Display the first n records of a block of excluded records.
- I
- Insert one
empty record.
If the display format is CHAR, HEX or LHEX, then the entire record is initialized to blanks.
If the display format is TABL, then the record is initialized according to the record structure of the current record type:- Numeric fields are initialized to zero.
- Alphanumeric fields are initialized to blanks.
- If the record type contains a variable-length array, then the record is initialized with the minimum number of array elements, and the array size field (or fields, for multi-dimensional arrays) is initialized accordingly.
- In
- Insert n empty records.
- L
- Display the last record of a block of excluded records.
- Ln
- Display the last n records of a block of excluded records.
- LC
- Translate all uppercase characters in a record contents to lower case (see Caution in LCC).
- LCn
- Translate all uppercase characters in n records to lower case (see Caution in LCC).
- LCC
- Translate all uppercase characters in a block of records to lower
case. Mark start and end of block. CAUTION: The LC commands (LC, LCn, LCC) affect all characters in a record, not just characters in those fields with an alphanumeric or character data type. This means that numeric data, such as binary data or packed decimal data, can be corrupted by using these commands.
- M
- Move one record.
- Mn
- Move n records.
- MM
- Move block of records. Mark start and end of the block.
- O
- The O (overlay) command indicates the target when you want to merge lines. Overlay is used in conjunction with
move and copy commands.
A
K
can be appended to the O to indicate that the source is to be used with multiple destinations. The last destination must not contain the K append so that File Manager knows the command set is complete. No part of the command set is executed until the command set is complete. - O
- Overlay one record.
- On
- Overlay n records.
- OO
- Overlay block of records. Mark start and end of the block.
- P
- Identifies the record preceding which data is to be moved or copied. This is synonymous with the B prefix command.
- R or "
- Repeat one record.
- Rn or "n
- Repeat n records.
- RF
- Perform a refresh of the record. (Shared files only.)
- RFn
- Perform a refresh of n records. (Shared files only.)
- RFF
- Perform a refresh of a block of records. Mark start and end of the block. (Shared files only.)
- RR or ""
- Repeat block of records. Mark start and end of the block.
- RRn or ""n
- Repeat block of records n times. Mark start and end of block.
- SV
- Perform a save of the record. (Shared files only.)
- SVn
- Perform a save of n records. (Shared files only.)
- SVV
- Perform a save of a block of records. Mark start and end of the block. (Shared files only.)
- UC
- Translate all lowercase characters in a record to upper case (see Caution in UCC).
- UCn
- Translate all lowercase characters in n records to upper case (see Caution in UCC).
- UCC
- Translate all lower case characters in a block of records to upper
case. Mark start and end of block. CAUTION: The UC commands (UC, UCn, UCC) affect all characters in a record, not just characters in those fields with an alphanumeric or character data type. This means that numeric data, such as binary data or packed decimal data, can be corrupted by using these commands.
- V
- (Available only when you are using a template.) Display currently suppressed records of the record type indicated by the shadow line. Records of other record types are suppressed from display.
- X
- Exclude record from display. If the display of excluded record shadow lines is enabled (see SHADOW primary command), a shadow line is shown indicating how many records are being excluded at this position. To show an excluded record, use the F or LA prefix command.
- Xn
- Exclude n records from display. If the display of excluded record shadow lines is enabled (see SHADOW primary command), a shadow line is shown indicating how many records are being excluded at this position.
- XX
- Exclude block of records from display. Mark start and end of block. If the display of excluded record shadow lines is enabled (see SHADOW primary command), a shadow line is shown indicating how many records are being excluded at this position.
- .xxxx
- Label a line. The label, xxxx, is a string of 1 to 4 alphabetic characters, that does not start with the character “Z” (labels starting with “Z” are system labels). Labels can be assigned to any data line. Labels cannot be assigned to the bounds line or to shadow lines.
- )
- Shift record right one position.1
- )n
- Shift record right n positions.1
- ))
- Shift block of records right one position. Mark start and end of block.1
- ))n
- Shift block of records right n positions. Mark start and end of the block.1
- (
- Shift record left one position.1
- (n
- Shift record left n positions.1
- ((
- Shift block of records left one position. Mark start and end of block.1
- ((n
- Shift block of records left n positions. Mark start and end of block.1
- ∕
- Position record at the top of the screen.
- Data Area
- The Data Area shows the data in the selected display format. For a description of the different display formats, see Selecting a display format.
- Command
- The Command line is a field in which you can enter Primary Commands, such as CHANGE.
- Scroll
- The Scroll field defines the current scroll amount. You can type a new value.
When a VSAM data set is displayed, additional fields can be seen.
- Type
- The type of VSAM data set, for example, RRDS. IAM files are also indicated.
When a data set is displayed in TABL format with a template, the column headings show the field names defined in the template.
When a data set is displayed in SNGL format with a template, the field and record number of the current record is shown.
Available commands
- APPEND and APPENDX primary commands
- BOTTOM primary command
- BOUNDS primary command
- CANCEL primary command
- CAPS primary command
- CASE primary command
- CE (Change Error) primary command
- CEDIT primary command
- CHANGE/CX primary command
- COPY primary command
- CREATE, CREATEX primary commands
- DEDIT primary command
- DELETE (records) primary command
- DOWN primary command
- END primary command
- EXCLUDE/XX primary command
- EXIT primary command
- FE (Find Error) primary command
- FILE primary command
- FIND/FX primary command
- FORMAT primary command
- HEX primary command
- JOIN primary command
- JUST primary command
- LEFT primary command
- LOCATE primary command
- NEXT primary command
- NEXTREC primary command
- OFFSET primary command
- PIC primary command
- PREVREC primary command
- PREFIX primary command
- PREVIOUS primary command
- PROFILE primary command
- RD primary command
- RDF primary command
- RECOVER primary command
- RECSTATS primary command
- REFS primary command
- REPLACE, REPLACEX primary commands
- RP primary command
- RECLEN primary command
- RESET primary command
- RFIND primary command
- RIGHT primary command
- SAVE primary command
- SAVEAS primary command (templates)
- SHADOW primary command
- SHOW (REC) primary command
- SLOC primary command
- SORT primary command
- SPLT primary command
- SPLTJOIN primary command
- STR primary command
- TEDIT primary command
- TOP primary command
- TVIEW primary command
- TYPE primary command
- UP primary command
- VIEW primary command
- ZOOM primary command
Parent panels
Child panels
- Template Workbench panel (to invoke the panel, enter the TVIEW primary command).
- Record Type Selection panel (to invoke the panel, enter the TEDIT primary command - panel displays when template contains more than one record type).
- Field Selection/Edit panel (to invoke the panel, enter the TEDIT primary command - panel displays when using a copybook template with only one record type).
- Dynamic Template panel (to invoke the panel, enter the TEDIT primary command - panel displays when using a dynamic template).
- Record Selection Criteria panel (to invoke the panel, enter the CEDIT primary command).
- Record Identification Criteria panel (to invoke the panel, enter the CEDIT ID primary command).