REXX handles the asterisk (*) both as a wildcard character and as the multiplication character:
If you enter:
RDSCRROW * 5
REXX will try to multiply the variable RDSCRROW times 5. Depending on the value of RDSCRROW, REXX can fail. In the worst case, the value of RDSCRROW would be an integer, which would cause an incorrect result.
If you enter:
RDSCRROW '*' 5
REXX understands that the asterisk is used as a substitute character. When the command executes, REXX transforms the statement to:
RDSCRROW * 5
Copyright © 2014 CA.
All rights reserved.
|
|