11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Caché</strong> <strong>ObjectScript</strong> Commands• If there is a timeout parameter in your JOB command, check whether the speed of yoursystem is using up the timeout period.JOB Command CompletionA jobbed process continues to completion even if the process that created it logs off beforethat completion.JOB Command with TCP DevicesYou can use the JOB command to implement a TCP concurrent server. A TCP concurrentserver allows multiple clients to be served simultaneously. In this mode a client does not haveto wait for the server to finish serving other clients. Instead, each time a client requests theserver, it spawns a separate subjob for that client which remains open as long as the clientneeds it. As soon as this subjob has been spawned (indicated by the return of the JOB command),another client may request service and the server will create a subjob for that clientas well.Client/Server Connections in the Non-Concurrent and Concurrent ModesA concurrent server uses the JOB command with the concurrent server bit (the bit with value4) turned on. Then the JOB command passes to the spawned process the TCP device in the70 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!