Calling DB2 statement through a unix shell
- From: "Justin" <kfwolf@xxxxxxxxxxx>
- Date: 13 Feb 2007 10:48:32 -0800
I am looking to execute a DB2 command in the background through
shell .
Shell script:
db2 -tvf updatecust.sql &
Within updatecust.sql, it established a connection to the db and
executes an update statement. Using the & causes the statement to
fail. I have tried quotes and the exec statement.
Error: DB21018E A system error occurred. The command line processor
could not continue processing.
Removing the &, and the script runs as expected.
Thanks.
.
- Follow-Ups:
- Re: Calling DB2 statement through a unix shell
- From: Dan Mercer
- Re: Calling DB2 statement through a unix shell
- Prev by Date: UFSDUMP Question
- Next by Date: Re: MAILX
- Previous by thread: UFSDUMP Question
- Next by thread: Re: Calling DB2 statement through a unix shell
- Index(es):
Relevant Pages
|