mumps.mumps_procedure()
Calls a MUMPS subroutine that does not return a value. Requires CFMumps 0.6.0 or later.Â
Note that any output of the called procedure will be logged to Tomcat's catalina.out logfile.
Arguments
Argument | Data Type | Required | Description |
---|---|---|---|
procedure | string | Yes | The procedure to be called |
args | array | Yes | An array of arguments to be passed to procedure |
autoRelink (CFMumps 0.05 and later only) | boolean | No | If true, the routine called through this API will be automatically re-linked before being executed. This allows you to use the most recent version of a routine without re-starting the CF application server. Omitting this parameter is equivalent to supplying it with a value of false. |
Return Value
Returns a value of type boolean, which will be true if there was no error in the course of procedure execution.
Example
This example will simply write "Hello, world!" to Tomcat's catalina.out.
MUMPS Routine
KBBMDEMO QUIT ; ; KBBMHELO W "Hello, world!",! QUIT
CFScript
var mumps = new lib.cfmumps.Mumps(); mumps.open(); mumps.mumps_procedure("KBBMHELO^KBBMDEMO", []); mumps.close();
CFML
<cfset mumps = new lib.cfmumps.Mumps()> <cfset mumps.open()> <cfset mumps.mumps_procedure("KBBMHELO^KBBMDEMO", [])> <cfset mumps.close()>