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> Commandsinteraction. A jobbed process inherits all system defaults, except what is explicitly specifiedin the JOB command.By contrast, a routine invoked with the DO command runs in the foreground as part of thecurrent process.JOB can create a local process on your local system, or it can invoke the creation of a remoteprocess on another system. For more on remote jobs, see Starting Remote Jobs.ArgumentspcAn optional postconditional expression. <strong>Caché</strong> executes JOB if the postconditional expressionis true (evaluates to a non-zero numeric value). <strong>Caché</strong> does not execute the command if thepostconditional expression is false (evaluates to zero). For further details, refer to CommandPostconditional Expressions in Using <strong>Caché</strong> <strong>ObjectScript</strong>.routineThe process to be started. It can take any of the following forms:Process Specificationlabel^routinelabel^routinelabel+offsetlabel+offset^routineDescriptionSpecifies a line label within the current routine.Specifies a routine that resides on disk. <strong>Caché</strong> loadsthe routine from disk and starts execution at the firstline of executable code within the routine.Specifies a line label within the named routine,which resides on disk. <strong>Caché</strong> loads the routine fromdisk and starts execution at the indicated label.Specifies an offset of a specified number of linesfrom the label. Use of offsets can cause problemswith program maintenance, and is discouraged.If you specify a non-existent label, <strong>Caché</strong> issues a error. If you specify a nonexistentroutine, <strong>Caché</strong> issues a error. For further details on these errors,refer to the $ZERROR special variable.routine-paramsA comma-separated list of values, expressions, or existing local variable names. The enclosingparentheses are required. This list is known as the actual parameter list. The routine must60 <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!