All Forums Tools
farenas 1 post Joined 03/06
17 Mar 2006
Parameters and BTEQ

Hi folks:I'm trying to make a simple unix script shell to define a variable and execute a bteq command. For example:#!/bin/shhomeDir=/home/OprBCI/FAA/ MigracProcbteq < arch.btq > arch.out## End of shellThe question is: How I can pass the "homeDir" variable to bteq process in "arch.btq"?I need to make the shell in this format because I need to avoid to include the bteq file into the shell, for example:#!/bin/shhomeDir=/home/OprBCI/FAA/ MigracProcbteq << !EOF.... (here I can use $homeDir easily)!EOF## End of shellThank you very much for your help.

You must sign in to leave a comment.