#!/bin/ksh

#        name generic_imp.sh
#     version 0.0
# description Interpreted shell script to import 
#             data from the output of generic_exp.sh
#    synopsis No arguments
#       usage From the shell prompt:
#             $ ./generic_imp.sh
#    comments 
#   copyright
#    creation 07 JUL 2006
#      author D. Clement
#     changes

read UNAM?"Enter the table owner name -> "
read UPWD?"Enter the table owner's password -> "
read OSID?"Enter the SID -> "

rm -f xpipe
/usr/sbin/mknod xpipe p
chmod g+w xpipe

nohup imp $UNAM/$UPWD@$OSID ignore=y rows=y file=xpipe &
nohup gzip -c partn_exp.gz > xpipe &