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


Centering text

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



CENTER places subsequent text around the center (vertical midline) of the screen:


          center on
          ce

You can also specify an x-value around which the text is to be centered, as in:


          center  25

This centers the text around x=25 (indented one quarter of the screen).

The following example shows you how to get a centered header in a picture:


          1 )ops reset; ss admuutrp; h 7%; color y
            )ops ce on
           Centering text
            )ops ce off
            ...
          1

CENTER is ended by CENTER OFF or RESET.

CENTER is not influenced by IN. On the contrary, CENTER OFF restores the original left margin.

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012