Samba-3000 sync and Formspec data tips
July 18, 2016
Samba sharing on our 3000 using Windows Explorer is slow, but it gets the job done. However, if I take down networking on the 3000 and bring it back up, Windows Explorer tells me the 3000 is inaccessible. Ping works, Reflection connections work and Internet Explorer has no trouble connecting to our Apache/iX web site. What's happening to the 3000's networking?
Frank Gribbin resolves and explains:
After rebooting the PC, everything works again until networking on the 3000 is refreshed. Your solution should address the fact that Windows is maintaining a table of connections that needs to be refreshed in DOS. From the DOS command line, issue the command nbtstat -R or nbtstat -RR.
James Byrne also points out:
You can get into trouble with cached credentials with Windows Active Directory as well. You can clear them from the command line with:
net session \\samba.server.ip.address /delete
Or you can do it through the Credentials Manager on the workstation's Control Panel. However you clear the cache, you still need to restart the workstation with the problem cache — because the credentials are still in memory.
It's been a long time since I worked with FORMSPEC. I have a screen that is used to enter data. I want the data to remain on the screen after the enter key is pressed. Is that done using FORMSPEC, or is it done in some sort of a COBOL statement?
Alan Yeo says:
That is the default behavior. When you press enter, the host program is triggered to read the data (if it chooses) and then to either update, clear, etc. By default VPLUS won't clear the data from the screen when you press enter (in fact it does virtually nothing when you press enter) — either the host program (or Entry?) is doing it explicitly, or one of the clear/ repeat/ append settings for the form in FORMSPEC has been set to instruct VPLUS to clear the form.
Gilles Schipper points out:
You can do it in FORMSPEC or programmatically. When creating or modifying the form in FORMSPEC, simply specify "R" in the repeat option for the form you wish to repeat.
Programmatically, you can set the appropriate parameter prior to issuing the appropriate series of VPLUS intrinsic calls.
Generally, the specifications of your form design can be dynamically overridden programmatically — unless you use ENTRY.PUB.SYS to enter your data into a data file.