Hi all, I am looking for some help on scripting in Lawson, I am new to the software, looking to run a script to dump a table to csv file. I can run the rngdbdump –c gen queuedjob > jqstat.csv from the server and it will run clean and dump the data to the csv file.
When I apply the same code in a script, nothing gets dumped to the csv file, the file is created but no records in the file.
I also tried the jqstatus same issue.
wscript.echo "VBS Script running parameters "
Any help would sure be appreciated.
Thanks
Terry
Hi Greg, thanks for the info---
not being a script writer, can you let me know how to set a variable in a script,
@set GENDIR=D:\lsftest\gen @set LAWDIR=D:\lsftest\law @set LADBDIR=D:\lsftest\db
Greg, Thanks for the info, I got pulled off onto something else for now----will get back to this later this week.
This is a vbs script so I am not sure if I can do a call, will investigate.
If you are on Windows, have you considered using OSQL or BCP. You can create a BCP or OSQL command that dumps the file into a csv and put the command in a batch file. You can execute the file as a job on the server or I believe also through tokendef in LID if you want to keep everything in Lawson.