baan_player
10th November 2008, 19:24
Hi All
I need to run a 3GL in a JOB. I am doing this for the first time.
I need a shell script (ttaad5205m000). what would be the syntax of the script.? where should I store it?
Can anyone help me in this.
Thanks in Advance.
Cesar Lopez
10th November 2008, 23:52
It depends on your schema, but you can put the script anywhere, just be sure that the job daemon user has permission to read and execute this script, the best may be to put that in the home of the user, you just have to export some variables and call the 3gl by ba6.1 command, here is an example:
#:/home/user/scripts # cat 3glscript.sh
export TERM=vt100
export ORACLE_HOME=/oracle/product/10.2.0
export ORACLE_SID=" put you Oracle_instance_name here"
export BSE="put your bse path here"
export PATH=$PATH:$ORACLE_HOME/bin:$BSE/bin
BAMODE=1 $BSE/bin/ba6.2 -- -nodebug tdsls4100
Regards
NPRao
11th November 2008, 01:55
baan_player,
Please use the search option on the forum to refer to the already discussed topics.
Refer to the link with has more links and info: 3GL parameter and return (http://www.baanboard.com/baanboard/showthread.php?t=9316&highlight=ba6.2)