XM NEXT SEQUENCE NUMBER (190) FUNCTION (.5)
Name
Value
NAME
XM NEXT SEQUENCE NUMBER
MUMPS CODE
S X=$O(^XMB(3.7,DA(2),2,DA(1),1,"C",""),-1)+1
EXPLANATION
Gets the next sequence number in the basket for a new message