Page 1 of 1

can u tell me how to pass nuemeric values to the data

PostPosted: Fri Sep 09, 2011 1:42 pm
by slaxman9
EVALUATE TRUE
004330 WHEN cust_code = "7digit" MOVE 000 TO us_cust
004340 WHEN cust_num = "10digit " MOVE " " TO Ps_cust

004420 WHEN OTHER MOVE 0 TO US_CUST
004420 END-EVALUATE.


CAN I USE THIS REQUIREMENT SUCH WAY?

Re: can u tell me how to pass nuemeric values to the data

PostPosted: Fri Sep 09, 2011 2:25 pm
by enrico-sorichetti
well... the description of the requirement is clear as mud :D
it might be clear to You , but to get reasonable replies, you will have to do a better job describing it

Re: can u tell me how to pass nuemeric values to the data

PostPosted: Fri Sep 09, 2011 2:53 pm
by Robert Sample
Why not just do a quick test and find out for yourself? Since we don't know what you mean by your terms (such as = "7digit" or = "10digit" -- is this comparing to the actual literal? is it supposed to be shorthand for a much longer comparison? is it supposed to be some magic that determines whether the variable meets to condition without any code to ensure that it does? or something else entirely?), there is no way we can tell you what your code would do.

Re: can u tell me how to pass nuemeric values to the data

PostPosted: Fri Sep 09, 2011 3:58 pm
by slaxman9
thanx....