GTM$LOCK, GMT$INCLOCK, GTM$DECLOCK, GTM$ZALLOC, and GTM$ZDEALLOC can operate on one or more MUMPS names. When the list contains more than one name, a delimiting argument with a value of zero (0) must precede the elements of every name except the first.
Example:
$DESCRIPTOR(gname,"A"); $DESCRIPTOR(sub,"1"); $DESCRIPTOR(namb,"B"); gtm$lock(5,GTMI$_GLOBAL, &gname,0,GTMI$_LOCAL,&namb,&sub,&sub);
This corresponds to the MUMPS statement:
L (^A,B(1,1)):5