On Aug 15, 2012, at 5:05 AM, Johnny Billquist wrote:
On 2012-08-15 10:57, Sampsa Laine wrote:
Yes, I was aware of the batch submission, but wanted to do it the "ssh way" for
a particular reason..
Ok. Note, however, that the solution you came up with now is not really generally usable
in DECnet, but is rather VMS-specific. But on the other hand, more or less any solution
will be rather specific...
The details are, but the general mechanism is common. See the Session Control layer
specification. Basically, server application addresses come in two forms (three, maybe,
but the third doesn't really make sense) -- a name, or a number. For example, FAL is
number 17.
That part is standardized, and the object numbers are registered (though no names are).
What isn't standard is how those session control requests are mapped to operating
system objects or actions.
For example, in RSTS (DECnet/E), incoming connections can go to already running programs
that have registered the object name and/or number. If there isn't one, the request
is looked up in a database set by NCP which defines the mapping from name or number to a
program. Unlike VMS, there is no default rule that a name maps to that same string as an
executable file. But what Sampsa did could be done to a RSTS node so long as there is a
session control database entry that maps that task name to the script file as the thing to
execute.
paul