![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Aloha all, I'm working on some big things using MVSP and I have a need to either execute a d3 program or call a d3 subroutine from a vb2008 |
#3
| |||
| |||
|
|
For me, message queuing was born out of years of frustration with various libraries "breaking" with OS or D3 upgrades. I finally decided to reduce, as much as possible, the dependencies on things which I do not control. |
#4
| |||
| |||
|
|
When pointed at the q file it throws error B209 "File is update protected." And, of course, when I run the program from tcl it does not do that... |
#5
| |||
| |||
|
|
terrymaui wrote: When pointed at the q file it throws error B209 "File is update protected." And, of course, when I run the program from tcl it does not do that... I'll preface this with "Off the top of my pointy head..." Terry, this is a typical permissions issue. *The socket process listening for the inbound MVSP connection is running as a Unix user which does not have permissions to access the file in question. To see what user it's running as, insert this into your program: EXECUTE "!env" CAPTURING OUT Comment out the code that writes to the OS and write the OUT var to a D3 file, like MD, then check the item manually. *The data contains environment variables like USER, LOGNAME, HOME, PWD, etc. Once you see the user under which MVSP is running, it should be evident why it can't write to that file. *You can either change the user of that process (check with TL on that) or you can change access permissions to the file from TCL: !chmod 666 /path/to/myOSfile After you do that, everyone has write access, and your MVSP operation should work. HTH |
#6
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |