The END_BROWSE_RESULTS call

The END_BROWSE_RESULTS call allows you to end the browse session that was started by the START_BROWSE_RESULTS call.

END_BROWSE_RESULTS

  DFHDDAPX [CALL],
      [CLEAR],                 
      [IN,                            
      FUNCTION(END_BROWSE_RESULTS),
      SEARCH_TOKEN(name4),]         
      [OUT,  
      [LDAP_RESPONSE(name4),]                    
      RESPONSE(name1 | *),                              
      REASON(name1 | *)]

This command is threadsafe.

LDAP_RESPONSE(name4)
specifies the return code that is sent by the LDAP API.
SEARCH_TOKEN(name4)
the name of the fullword token that is returned by the SEARCH_LDAP function.

RESPONSE and REASON values for END_BROWSE_RESULTS

RESPONSE REASON
OK None
EXCEPTION INVALID_TOKEN
  INVALID_CALLING_SEQUENCE
  NOTFOUND
DISASTER None
INVALID None
KERNERROR None
PURGED None
Note: For more detail, refer to the explanation of RESPONSE and REASON in Making an XPI call.