Specifying an offset value

You can specify the offset value for a record in three different ways:

  1. When you are editing or viewing a data set with a template, use the OFFSET command to enter an offset value. This offset value only applies to the current editor session.
    Note: Under some circumstances, when you use the OFFSET command in an editor session, the command only affects the display formatting of records. You must re-enter the editor session for the select of records or segments to reoccur. These circumstances apply on one of these situations:
    • A template indicating segmented records and some selection criteria are present
    • Record sampling
    • A record limit of MEMORY
    For more information on using the OFFSET primary command, see OFFSET primary command.
  2. When you are editing a template, you can enter an offset value in the Field Selection/Edit panel to change the starting position of the currently displayed layout. If the template contains more than one Level 01 field, you can use the OFFSET primary command in the Record Type Selection panel to change one or more Level 01 fields. If you wish, you can save the offset changes in the template, so that they apply to subsequent editor sessions. For more information about specifying an offset in a template, see Specifying offset values.
  3. When you are running a File Manager function using a template, batch keywords let you specify offset values. The following functions support the use of offset keywords:
    Function
    Keywords
    DSC
    OFFSETIN, OFFSETOUT
    DSEB
    OFFSETIN
    DSM
    OFFSETOLD, OFFSETNEW
    DSP
    OFFSETIN
    DSU
    OFFSETIN

    For more information about using these keywords, see the relevant function description in Functions.