UP primary command — scroll data backward

Use the UP primary command to scroll backward toward the top of data.
  • Syntax
        UP          [ amount ]
  • Parameter
    amount
    Specifies one of the following scroll amounts:
    • A number from 1 through 9999, representing the number of lines to be scrolled
    • PAGE or P, indicating that a full screen should be scrolled
    • HALF or H, indicating that a half-screen should be scrolled
    • CSR or C, indicating that the screen should be scrolled to the line on which the cursor resides
    • MAX or M, indicating that the screen should be scrolled to the top
    • DATA or D, indicating that the screen should be scrolled a page minus one line

    If you do not specify an amount, IPCS uses the amount in the SCROLL amount field in the upper right corner of the screen.

  • Usage notes
    • UP can be used on all IPCS dialog panels that display the SCROLL amount field.
    • The scroll amount is typically displayed on the screen, following the command/option field. You can change the scroll amount by typing over the SCROLL amount field with a new amount. The new scroll amount will remain effective (except MAX or M) until you change it or until you begin a new function.
    • You can temporarily override the scroll amount, without changing the SCROLL amount field, by:
      • Typing an amount as part of the scroll command and pressing the ENTER key
      • Typing a scroll amount in the command/option field, and then pressing PF7 or PF19
    • The IPCS-defined PF keys 7 and 19 invoke the UP primary command.
  • Example: Scroll using the MAX operand.
    • Action:
      COMMAND ===> up max
      or
      COMMAND ===> up m
    • Result

      The panel is scrolled to the top of the data.