Date: Mon, 12 Jan 2004 10:55:17 -0500
Reply-To: ben.powell@CLA.CO.UK
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: ben.powell@CLA.CO.UK
Subject: Re: Hooking to SAS from computer languages
I think it was Stig who pointed out that a socket server is not
multithreaded and so should two users attempt to access the same server one
will be disappointed. He showed this by using an htm with three frames to
make 3 simultaneous calls on the server, two frames returning "Page not
found."
As such, the first thing to do with any sas socket server is to code a
piece of middleware that can kludge multithreading, e.g. by spawning
multiple instances of sas with a specific port number allocation that is
communicated back to the browser. This would be workable for up to, say, 10
users.
Or find another way!
(Or only develop for one user).
HTH.
On Mon, 12 Jan 2004 10:29:22 -0500, L. Bertolini <bertolini.1@OSU.EDU>
wrote:
>Victor,
>
>Another possibility is to use sockets:
> * write a SAS socket server to handle requests
> * write a socket client in the language of your choice,
> and request services from the SAS socket server.
>
>Larry
>
>Victor wrote:
>
>>Hi,
>>
>>I am new here and also new to SAS.
>>I am curious, Is it possible to access the SAS functionality
>>programmatically from a language like, C, Java, or Smalltalk?
>>How would you do it?
>>Where can I find documentation about this?
>>I am currently working with Windows XP.
>>
>>Thanks,
>>Victor Goldberg
>>
>>
|