...
Note that any output of the called procedure will be logged to Tomcat's catalina.out logfile.
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. |
Returns a value of type boolean, which will be true if there was no error in the course of procedure execution.
This example will simply write "Hello, world!" to Tomcat's catalina.out.
Code Block |
---|
title | MUMPS Routine |
---|
linenumbers | true |
---|
|
KBBMDEMO
QUIT
;
;
KBBMHELO
W "Hello, world!",!
QUIT |
Code Block |
---|
language | coldfusionjs |
---|
title | CFMLCFScript |
---|
linenumbers | true |
---|
|
<cfsetvar mumps = createObject("component", "lib.cfmumps.mumps") new lib.cfmumps.Mumps();
mumps.open();
mumps.mumps_procedure("KBBMHELO^KBBMDEMO", []);
mumps.close(); |
Code Block |
---|
language | coldfusion |
---|
title | CFML |
---|
linenumbers | true |
---|
|
<cfset mumps = new lib.cfmumps.Mumps()>
<cfset mumps.open()>
<cfset mumps.mProceduremumps_procedure("KBBMHELO^KBBMDEMO", [])>
<cfset mumps.close()> |