Windows 7: BTEQ 13 and 14
Calling a batch file from end users machine shortcut, target is \server\folder\file.bat, start in %temp% to prevent CMD prompt errors.
bteq < \server\folder\commands.txt
.EXPORT REPORT FILE=\server\folder\output.csv
.RUN file \server\folder\sql.txt
Problem: When shortcut is run, it outputs bteq 0<\server\folder\commands.txt and breaks. (note the zero before the input)
in BTEQ, when just running the command straight from there bteq < \server\folder\commands.txt everything works.
When everything is local, and shortcut points to a local batch file, with local commands, login, and sql files, it runs.
rights to materials on this website, the rights you grant to your submissions to this website, and your responsibilities regarding your conduct on this website.