Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide
DSNM Library Services
Distributed Systems Network Management (DSNM) Subsystem Interface Development
Guide—109759 A-65
_JOIN^LIST
_JOIN^LIST
_JOIN^LIST appends all members of a source list to a destination list.
Data is not moved in memory; the source list is empty afterwards.
error returned value
INT
is a ZDSN^ERR value indicating the outcome of the call. See Appendix B, “DSNM
Error Codes,” for error code definitions.
dest-list input/output
is the name of the destination _LIST to which the members of source-list are
appended.
source-list input/output
is the name of the source _LIST whose members are appended to dest-list.
Example
The following example appends all the members of worklist to outlist:
_LIST (outlist);
_LIST (worklist);
.
.
.
IF ( error := _JOIN^LIST (outlist, worklist))
THEN ... <error> ;
error := _JOIN^LIST ( dest-list
,source-list );