Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
DBCENTER z/OS TSO/E REXX Reference SA32-0972-00 |
|
>>-DBCENTER(string,length--+-----------------------+--)-------->< '-,-+-----+-+---------+-' '-pad-' '-,option-' returns a string of length length with string centered in it, with pad characters added as necessary to make up length. The default pad character is a blank. If string is longer than length, it is truncated at both ends to fit. If an odd number of characters are truncated or added, the right-hand end loses or gains one more character than the left-hand end. The option controls the counting rule. Y counts SO and SI within mixed strings as one each. N does not count the SO and SI and is the default. Here are some EBCDIC examples:
|
Copyright IBM Corporation 1990, 2014
|