When you place single quotes around the names of the variables to be printed on each line, the number of characters in the variable name (including the ampersand) is set aside for the printed value of the variable. For more information, see An Example of a Simple Report. All of the variable names specified in this example are nine characters long, so nine positions are reserved for the value on the printed report, regardless of the actual length of the value. For example, nine positions are reserved for the stage 1 option, even though the value will never be more than two characters long.
Some variables contain values that are more than nine characters long. At most, the variable name is only nine characters long, so only nine positions are reserved for the printed value. As a result, only the first nine characters of the value are printed and the remaining characters are truncated. For a description of the variables with more than nine characters, see Variables with a Length Greater than Nine.
You can reserve any number of positions for a value by adding spaces between the single quotes where the variable is specified. The number of character positions between the quotes is set aside for the value of the variable. You can also use the spaces to indent lines in the report to make them stand out.
|
Copyright © 2013 CA.
All rights reserved.
|
|