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.

^$JOB• ZNSPACE command• $ZNSPACE special variable• $ZUTIL(90,10) Test Whether a Namespace is Defined function• Configuring Namespaces in <strong>Caché</strong> System Administration Guide^$JOBProvides <strong>Caché</strong> process (job) information.^$JOB(job_number)^$J(job_number)Parametersjob_numberThe system-specific job number created when you enter the <strong>Caché</strong><strong>ObjectScript</strong> command. Every active <strong>Caché</strong> process has a uniquejob number. Logging in to the system initiates a job. On OpenVMSsystems, the job number is the process identification (PID) of theprocess started. On UNIX systems, the job number is the PID ofthe child process started when <strong>Caché</strong> was invoked.DescriptionYou can use the ^$JOB structured system variable as an argument to the $DATA, $ORDER,and $QUERY functions to get information about the existence of <strong>Caché</strong> jobs on the local<strong>Caché</strong> system.ExamplesThe following examples show how to use ^$JOB as an argument to the $DATA, $ORDER,and $QUERY functions.As an Argument to $DATA$DATA(^$JOB(job_number))^$JOB as an argument to $DATA returns an integer value that indicates whether the specifiedjob exists as a node in ^$JOB. The integer values that $DATA can return are shown in thefollowing table.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 505

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

Saved successfully!

Ooh no, something went wrong!