GDDM-PGF V2R1.3 OPS User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF | BOOK


Indenting text

GDDM-PGF V2R1.3 OPS User's Guide
SC33-1776-00



For horizontal control, use the IN command to adjust the left margin. For example:


          in  30

sets the left margin at x=30 (30% of the width). Text lines from the infile are left-justified against this limit.

You can adjust the left margin relative to the current position by putting a + or - sign in front of the value. For example:


          in +5mm
          in -3c

moves the left margin 5mm to the right or 3 columns to the left.

You can also specify the indentation as a text string, as in:


          in '*  '

The indentation is exactly the width of the text string if the text is written with the current symbol set and character box. For example:


          1 ...
            * This is worth considering
            )ops in ' * '
           as blah blah
            ...

positions "as" directly below "This" because the indentation is the same. You get the original positioning at the left edge of the screen by entering:


         in 0

You can also reset IN with the RESET command.

The following example:


          1 ...
           Options:
             )ops in &x+2m
          +First
           Second
           ...

gives the following result on the screen:


    __________________________________________________________________________________ 
   |                                                                                  |
   |                                                                                  |
   |                                                                                  |
   |        Options:  First                                                           |
   |                  Second                                                          |
   |                  ...                                                             |
   |                                                                                  |
   |                                                                                  |
   |__________________________________________________________________________________|

(&x is the position immediately after ":"; "2m" means the width of two characters.) If the symbol set has a fixed character width, you can write the above in the infile exactly as it is supposed to look. However, if you're using a symbol set with variable character width, it's difficult to make "Second" appear exactly below "First" without using IN.

You can also use IN to scroll left and right when using OPS for text browsing. For example:


          pf 10 'in +40m'
          pf 11 'in -40m'

sets PF10 and PF11 to scroll 40 characters to the left and right. You can also select other units, such as half a screen ("50").

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012