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.

a jobbed process, you can use parameter passing (routine–params) to pass values from thecurrent process to the jobbed process.If the JOB command fails, it is usually because:• There are no free partitions.• There is not enough memory to create a partition with the characteristics specified byprocess—params.Communicating Between JobsJOBParameter passing by value can occur in only one direction and only at job start up. For processesto communicate with each other, they must use mutually agreed upon global variables.Such variables are commonly known as scratch globals because their sole purpose is to allowprocesses to exchange information among themselves.Note:You can pass all local variables in the current process to the invoked process byspecifying a special process parameter.Processes can also communicate through the IPC (Interprocess Communication)devices (device numbers 224 through 255) or, on UNIX operating systems, throughUNIX pipes.Establishing Device Ownership<strong>Caché</strong> assumes that the invoked routine includes code (that is, OPEN and USE commands)to handle device ownership for the new process. The default device is the null device.<strong>Caché</strong> does not assign a default device to any process other than the process started at signin.Setting Job PriorityThe %PRIO utility allows you to control the priority at which a jobbed process runs. Forexample, with a priority of HIGH, a jobbed process competes on an equal basis with interactiveprocesses for CPU resources.<strong>Caché</strong> also allows you to establish default priorities for jobbed processes.Using the JOB Command in a Raw Partition (UNIX)You can use the JOB command in a raw partition in either of two ways:• Issue the JOB command while in the raw partition.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 65

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

Saved successfully!

Ooh no, something went wrong!