On UNIX something like this should work; substitute uncompress with gzip or whatever:

Code:
$ mknod /tmp/imp_pipe p 
$ uncompress < export.dmp.Z > /tmp/imp_pipe & 
$ imp file=/tmp/imp_pipe