Hi:
Any 2 Title statements will not "line up" with each other because by default the font for PDF is a proportional spaced font, in which the letter 'i' will take up less space in the title area than the letter 'w'.
For example...consider the following 2 lines of 20 'i' and 20 'w' characters each followed by 5 spaces and then the same text:
iiiiiiiiiiiiiiiiiiii It is going to snow.
wwwwwwwwwwwwwwwwwwww It is going to snow.
Because the 20 'i' characters take up less space on a line with a proportional font, the string "It is going to snow" on the first line will never line up with the same text on the second line -- by default. That is the nature of proportional fonts.
In addition, the SAS Title will rarely "line up" with the report columns in the main report area with PROC REPORT because the Title text is styled with a larger font than the font used for the headers or data cells.
I also do not understand what you mean by saying that you are achieving your results using #BYVAL...you show the '#' for #BYVAL1 and #BYVAL3, but not for BYVAL2 and BYVAL4 -- so I doubt that you are getting accurate results.
If you could show an example of your code and an example of some data, that would be very useful. This previous forum posting is very useful in understanding how to post code snippets in order to maintain the indenting and any special characters:
http://support.sas.com/forums/thread.jspa?messageID=27609毙
cynthia