![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 05 May 2009 @ 17:11:15 GMT
Hi We have requirement to prepare a script for fastload by passing the parameters. We call the fast load file from Shell script in our Project. While passing the parameter through shell script I am using the below statement In Shell Script:
fastload < $SCRIPT_PATH/header.fload $1
$1 is the parameter we are passing to shell script and the same forwarding to fastload
In fastload we have a one drop statement which uses the above parameter. I am using the below statement to capture the parameter value in Fastload. In fastLoad Script:
DROP TABLE testdb.test${1};
While running with the above changes, system is returning Invalid token '{' at Drop statement.. Am I doing mistake while using the parameter in fastload..? Before that is fastload script will accept parameters..? Give me an example. Regards Kumar.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||