Go to LeighWeb Home Page            

Back To LeighWeb Mainframe Utilities Page

View the module associated with this documentation

 This utility allows you to center the text on the line in a file you are
 editing.  Simply type CENTER on the command line, place your cursor anywhere on
 the line to be "centered" and press ENTER.  The utility finds the first
 non-blank character and the last non-blank character on the line; calculates
 the length of the string, subtracts it from the LRECL of the file; divides the
 result by 2 and positions the string on the resulting column.