Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

FIND^XPDPROT(): Find All Parents for a Protocol

Reference Type: Supported, Category: Menu Manager, ICR#: 5567

Description

The FIND^XPDPROT API is used to find all parents for a protocol in the PROTOCOL (#101) file and return the list in the RESULT array:

NOTE: This API was released with Kernel Patch XU*8.0*547.

Format

  FIND^XPDPROT(.result,protocol)

Input Parameters

.result:

(required) The array to return the results, passed by reference:

  • RESULT(0)=Number of parents found or -1^error message.

  • RESULT(IEN)=Protocol name
protocol:

(required) Name of the protocol in the PROTOCOL (#101) file for which to find the parents.

Output

returns:

Returns the RESULT array:

   RESULT(0)=Number of parents found or -1^error message.
   RESULT(ien)=Protocol name