This subroutine waits for responses to any outstanding request. Using the wait_flag argument, the application specifies whether PTMAP should wait for either all or any responses. PTMAP returns control to the application after the response or group of responses have been received.


int PTMAP_wait_all (wait_flag, retstat)

int         wait_flag;

COR_STATUS  *retstat;

Input Arguments


Either PTM_NEXT (wait for the next response) or PTM_ALL (wait until responses have been made for all outstanding requests for that Shopping List). A warning is returned if no outstanding responses exist.

Output Arguments


Pointer to status structure. The following warning may be returned (see Appendix A for an explanation of this code):



Return Value

The contents of retstat.status.

More information

Point Management API subroutines.