check the value of last byte in the variable
Posted: Fri Mar 18, 2011 6:01 pm
Hi,
i want to check the last byte of the variable to the particular value. how can i do that? please anyone suggest me.
example:
01 ws-var pi x(10) value '12345'
i want to check whether last byte of ws-var is having the value 5 or not.
i want to check the last byte of the variable to the particular value. how can i do that? please anyone suggest me.
example:
01 ws-var pi x(10) value '12345'
i want to check whether last byte of ws-var is having the value 5 or not.