I have a .jsl script that is executed on a remote server (JMP12). The script is failing to execute the task so I would like to have it automatically capture the log at the end of the session (note, it does not fail when I run it locally on my machine). I experimented locally with just adding Save Log ("c:\log.txt); but get the error:
IO problemUnable to open in ReadWrite mode.
The system cannot find the file specified.
If I don't specify the file name it opens a save as window, which won't work with automatic remote execution. Any ideas?
Thanks for the input. In this case I'm testing directly on my laptop and I figured out that it wouldn't write directly to c: but was OK writing to a more user accessible folder or remote folder that I have access too as long as I had JMP open on my laptop.
The problem now is that when the .jsl is executed on the remote server it will not write to a drive that I know I have access too (some of the files used by the .jsl are saved there). Could this be because JMP is not physically opened on the server but just executed in the backgroud? If so, is there a way around it?
I would recommend talking to Technical Support (email@example.com ) since they would know the issues better especially the license of the JMP you are running and permissions.
You can look at the security settings. Most users can't write to c:\ .