Starting an editor session without using templates

To display your data in an unformatted state:

  1. From the Z Data Tools Primary Options Menu panel, select one of these:
    1 View
    Displays the View Entry panel.
    Note: This option does not allow you to save any changes you make to the data.
    2 Edit
    Displays the Edit Entry panel.
  2. Specify your HFS file or data set name or name pattern, member name or pattern and/or volume serial.
  3. If required, specify a Starting position for the data, then select a Start position type from the Processing Options.

    When your data set is a KSDS file, you can specify a key of up to 250 characters, as the starting position. To make it easier to enter a key of this size, you can expand the field by pressing the EXPAND function key (F4) or you can scroll within the field by pressing the LEFT or RIGHT function keys (F10/F11).

    When using a record number as the start position, you can specify a negative number to start from the given number of records before the end of the data set. The initial display is positioned at the specified record. Records prior to your starting position are not visible.

    Note: See also the use of the KEY primary command in step 9.
  4. If required, specify a record limit. The count of displayed records commences from the Starting position (which defaults to the top of the data set).

    You can specify a record limit as the word "MEMORY" so that Z Data Tools loads only as many records as will fit comfortably into storage.

  5. If required, select the Record Sampling field. Selecting this field will cause the Record Sampling panel to display after the Entry panel has been processed.

    You can use record sampling to specify a pattern for reading records from the data set. In your pattern, you can specify a starting position, read a number of records, skip a number of records, and then repeat the pattern until an end point is reached. The end point might be a specified number of physical records, a specified number of records selected by a template, the end of the input file, or the maximum number of records that can safely fit within the available virtual storage (whichever is reached first).

    When record sampling is in effect:
    • The values (if any) in the Start position and Record limit fields are carried through into the Record Sampling panel.
    • The skipped records are not presented or accessible within the session.
    • The session will run in In-place mode and will only contain as many records as will fit into the available virtual storage.
  6. In Edit, if you only want to update records in the data set (without inserting or deleting records), then select the Inplace edit option.
    Note that you cannot insert or delete records when:
    • Record Sampling is selected,
    • A Record limit of "MEMORY" is specified,
    • The data set is a VSAM file defined as NOREUSE, or
    • A template is specified which indicates segmented records
    • The data set is a QSAM LRECL=X that is too large to be contained in memory
  7. Type 3 (None) in the Copybook/template usage field.
    Note: When this field is set to None, entries in the Copybook or Template Data set name and Member fields are ignored.
  8. In Edit, if required, select the Create audit trail option.
    Note: To print an audit report, use Print audit trail report (see Edit Entry panel).
  9. Press Enter to process the panel.

    If you have provided the complete name of your data set and data set member, the Edit (or View) panel displays your data.

    If you used a pattern to specify your data set or member, the Data Set Selection or Member Selection panel is displayed. Select the required data set or members from the list by typing an S in the Prefix field, then pressing Enter. The Edit (or View) panel displays your data.

    If your data set is a KSDS file, you can specify a position to jump to by issuing the KEY primary command.

Related topics