Hello,
I have several prompts, 'FGR', 'DATA1' & DATA2'. This data is character so I defined the prompt in SMC as character type. However, I need to compare to a numeric value so in my code I am using 'call symput' to convert to a numeric value.
What I am finding in testing is that if I have a value in the prompt, the code works. However, the user may only enter one value and leave the other 2 blank. In my example I have entered a value into 'FGR' but left 'DATA1' & 'DATA2' blank.
Any suggestions would be greatly appreciated.
80 Call symput(('NEW_FGR),(input(&FGR,16.)));
82 Call symput(('NEW_DATA1'),(input(&DATA1,16.)));
_
22
83 Call symput(('NEW_DATA2'),(input(&DATA,16.)));
_
22
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant,
a missing value, INPUT, PUT.
a missing value, INPUT, PUT.
... View more