All Forums Database
Adithya 2 posts Joined 08/07
13 May 2012
"bteq << !@! > $LOGFILE 2> $LOGFILE" in the shell script

Whatt does  !@! will do in this line of the shell script. Thanks in advance.

CarlosAL 295 posts Joined 04/08
13 May 2012

Hi.

If it's in a shell script then it is a so-called 'here document' (and you should find '!@!' some lines below).

HTH.

Cheers.

Carlos.

14 May 2012

Hi

Its used to indicate the end of that bteq inside a shell script.

for ex:

bteq << !@! > $LOGFILE 2> $LOGFILE

.LOGIN ****

sel * from ***

.LOGOUT

!@!

u can use any character instead of !@!.

You must sign in to leave a comment.