I have narrowed down the problem. It occured on the statement
Code: Select all
status = SQLConnect(hdbc, dbName,userName,passwd)
When run by scheduler, the status is -1.
The parameters are the same!
Any hints?
Code: Select all
status = SQLConnect(hdbc, dbName,userName,passwd)