marwest98
30th July 2008, 17:32
I have a script that used to call a Unix script to convert a file called advise. We are converting from Unix/Oracle to SQLServer2005/Windows2003, so the script has been rewritten in VBScript. How do I execute the script from the Baan Script? The old way was:
spool.fileout="/export/web/paymentadvise/checkfile"&dat
id=brp.open("rtfcmgc41011000","ASCIF",0)
read.main.table()
brp.close(id)
shell "cd /export/web/paymentadvise;./advise;mv "spool.fileout&" /export/web/paymentadvise/archive/checkfile"&dat&" ",1)
I'm not sure how to set this up to execute the vbscript instead of the "advise" unix script
spool.fileout="/export/web/paymentadvise/checkfile"&dat
id=brp.open("rtfcmgc41011000","ASCIF",0)
read.main.table()
brp.close(id)
shell "cd /export/web/paymentadvise;./advise;mv "spool.fileout&" /export/web/paymentadvise/archive/checkfile"&dat&" ",1)
I'm not sure how to set this up to execute the vbscript instead of the "advise" unix script