i am working on web based COBOL Program....my input from web will be collected in variable say DISCOUNT with pic clause X(7)...in the program I WANT TO COMPARE the DISCOUNT from the web with the host variable WS-DISCOUNT with pic clause s9(3)v9(3) comp-3.
01 DISCOUNT PIC x(7). let's value be 123.456
my host variable
WS-DISCOUNT PIC S9(3)V9(3) COMP-3
can any one tell me how to compare an alphanumeric with comp-3 variable?