in reply to evaluating field from mySQL
Am I missing something? If you know the ENV variable you want is INP_DIR, why not just use it directly?