SujithKumar
3rd March 2011, 23:04
Requesting some ideas.
I am trying to run a Baan 3GL from windows (ie without using Baan UI) *
I wrote the code into a 3GL (called otclcrhours)
Used the following command line and put it in a .bat file and if i double click and run it, it works beautifully.
x:\baan\bin\ntbshell -server -set BSE_COMPNR="105" -set PACKAGE_COMB="b50cprd1" otclcrhours
However i take the same file and put it into a SQL server DTS as a windows task, it doest execute. It looks like its not getting some environmental info. I tried setting BSE, BSE_TEMP etc but didnt help.
If i try the SQL DTS with some standard windows commands (like copying a file it works fine, the problem is the baan objects doenst execute).
I poked around here and tries few many things but no luck
My backup plan is to make a regular baan session and run it as a job, but i do have a need to run from the command prompt
Any thoughts/ideas??
I am trying to run a Baan 3GL from windows (ie without using Baan UI) *
I wrote the code into a 3GL (called otclcrhours)
Used the following command line and put it in a .bat file and if i double click and run it, it works beautifully.
x:\baan\bin\ntbshell -server -set BSE_COMPNR="105" -set PACKAGE_COMB="b50cprd1" otclcrhours
However i take the same file and put it into a SQL server DTS as a windows task, it doest execute. It looks like its not getting some environmental info. I tried setting BSE, BSE_TEMP etc but didnt help.
If i try the SQL DTS with some standard windows commands (like copying a file it works fine, the problem is the baan objects doenst execute).
I poked around here and tries few many things but no luck
My backup plan is to make a regular baan session and run it as a job, but i do have a need to run from the command prompt
Any thoughts/ideas??