The Capture Off is in the spawned script.
I rebuilt the main script with the same modifications and tested it as I went and it works fine now.
Just one of those things.
Thanks for you help, knob and kodr!
Thanks for looking at this!
They are in the same script.
The main script makes a modem connection and logs on to the ERA DMS (dealer management system) based on parameters gathered from a text file and parsed into an array and broken out into variables.
Then another set of parameters is...
I should have included this:
The capture creates a file in the "C:\DataExtractions" directory named "NewExport.txt" 0 KB containing no data
and one named "connec1.cap" 514 KB containing all the data.
The script continues just fine.
Here is the capture code:
SET terminal columns 132
SET capturepath "C:\DataExtractions"
SET capture overwrite ON
SET capture query OFF
SET capture file "NewExport.txt"
clear
pause 2
CAPTURE ON
pause 2
I have a complex (for me) script that connects to an ERA system and then spawns another script to run and capture a report.
When run as a whole, the capture ON creates the specified file but then creates a default file and captures to it instead.
When running just the spawned script, it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.