artjuh
15th January 2003, 10:41
How can it be that if i run an query from "Maintain Query data" everything goes fine.
and when i run a queryfrom "Execute Query" it say's Report not present!
I copied the report to al possible languages and he still give me this same error.
I'm working in ba6.1 . Not the famous Bshell.
i need this to execute job's from my crontab in "UNIX"
Han Brinkman
15th January 2003, 13:59
a VRC problem ...
Is the vrc in which the report is created part of the deriviation structure of your package combo?
Rgrds
Han
OmeLuuk
16th January 2003, 11:06
-- -set BSE_LANG=1 for Dutch...
-- -keeplog -logfile WelkeTaal -dbgfdev ttadv3180m000
to see what language is searched for...
artjuh
17th January 2003, 10:10
After hanging al morning on the phone with OmeLuuk we finaly made an script that run's jobs in the language you desire.
Baan_sun # cat jobexec
#!/usr/bin/ksh
#
if [ -z $1 ]; then
echo "\nUsage: jobexec \"Jobname\"\n"
exit 1
fi
cd /baan/bse/home/bsp
export BAMODE=1
export DS_SERVER=ba
export BSH_JOB=$1
export BSE_LANG="$desired language"
export USER="$desired user"
ba6.1 -- -set BSE_COMPNR="$Company Nr" ttaad5203m000
I hope you people understand that the names with an $ before it are value's you have to fill in yourself
Greets,
Artjuh
Also some credit for OmeLuuk ;)
OmeLuuk
17th January 2003, 10:28
Where the cd /baan/bse/home/bsp can be ommitted, because that was for putting the logfiles in the correct directory without problems.