environment file in bteq script

Database
Enthusiast

environment file in bteq script

hi,
i am trying to get the names of input/ export files into my bteq script from an environment file.
using .i have used
.os /pimecris/temp/pims.env
but .import data file= $export does not work.
Any sugggestions would be very helpul as i want to avoid hard coding any paths.

Thanks in advance,
poonam.