Most likely the value in the variable is different than what you used in the IF statement. Possibilities are: Case differences. Try lowcase(vessel) = 'urkkotter' Leading spaces in the variable. Try strip(vessel)='urkkotter' Other hidden characters such as tab or non-breaking space. Use PUT VESSEL= $HEX. ; To see in the log the actual values. The variable is formatted and you are trying to select on the formatted value instead of the actual value. Try Vvalue(vessel) = 'urkkotter'
... View more