BTEQ. On Error: Continue

Database

BTEQ. On Error: Continue

Hi All,

I'm new to BTEQ, and writing a BTEQ script, made up of several SQL's.

What I want to do, once an Query is finished, if the error code is greater than 0, just ignore it and continue to the next query anyway.

Basically the sqls have no dependancy but cannot be run at the same time.
Can anyone please help with this?

Much appreciated.
Tags (1)
1 REPLY

Re: BTEQ. On Error: Continue

Not sure about your question, because this is the BTEQ default behaviour unless you set MAXERROR or QUIT based on the ERRORLEVEL.

HTH.

Cheers.

Carlos.