> > Hi,
> > I am trying to register my UDF named 'myUDF.sql" (which has @ as its
[quoted text clipped - 26 lines]
> Cheers
> Serge
Hi Serge
I tried giving full path name of the UDF.
Now I get a new error which says
DB21004E You cannot specify both an input file and a command when
invoking
the Command Line Processor.
So, is there a way I can do away with this error and register my UDf
via the script
Thanks
mailar
Serge Rielau - 23 Dec 2004 14:38 GMT
>>>Hi,
>>>I am trying to register my UDF named 'myUDF.sql" (which has @ as
[quoted text clipped - 49 lines]
> Thanks
> mailar
Interesting. Not being a script person I wonder whether @ has any
meaning to sh (?)
Can you repcae it with another character? E.g. %, $, # ?
dotyet - 24 Dec 2004 17:45 GMT
Are you doing something similar to this in your shell script?
<complete_path_to_db2_binary>/db2 "connect to sample"
<complete_path_to_db2_binary>/db2 -td@ -f
<complete_path_to_script>/myUDF.sql
take care that the double quotes are present. also i don't think the
'v'erbose option is needed, but thats just my opinion.
regards,
dotyet