Determine whether or not a global node is defined and/or has data and/or child nodes.
jsm.data(global, subscripts, callback);
Arguments
global
The name of the MUMPS global to be examined.
subscripts
An ECMAScript array indicating the subscript level within global
to examine.
callback
The callback function to be executed when the data has been retrieved, or when an error occurs. Per Node.js conventions, this callback function takes two arguments, err and data.