Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MaxDB - Everything about MaxDB, formerly known as SAP DB
MySQL++ - Programming with the C++ API to MySQL
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
AW: SET MAXERRORCOUNT problem with loadercli input file

AW: SET MAXERRORCOUNT problem with loadercli input file

2007-01-25       - By Schildberg, Steffen

 Back
Hi Jo?l,


Jo?l Reungoat [mailto:jreungoat@(protected)] wrote:
>
> But this means that there is probably no solution to my problem. Am I
> right ?
> I simply want in a script (as mentionned in my first mail) to
> create a
> BDPROC and then to call it, being sure that there is no error during
> these 2 actions. This can be done using the option "-E 1".
> But before creating the DBPROC in the script, I must try to drop it,
> because the DBPROC may already exist.
> So in this case, if the DBPROC does not exist, it will raise an error
> and will stop the script. I would like that it does not stop for this
> none fatal error and continue with next commands but stopping on next
> fatal error.
> Does somebody see a possibility to do it in a same script ?
>
There is no solution to your problem working with loadercli. It does not
provide a means to check return codes and process dependently on those
return codes.
The only option I could think of would be to use one of the scripting
languages Perl or Python. That would do the trick.
Regards,
Steffen
--
Steffen Schildberg
MaxDB Team
SAP Labs Berlin

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/maxdb?unsub=mysql@(protected)