Using tokens to identify a request

To keep track of the asynchronous requests your program issues, you can assign each request a unique identifying token.

This allows your program to correlate LISTEN requests and requests made with the NOWAIT option with the results of a subsequent RECEIVE command. The CICSPlex SM API makes no use of any tokens you define. User token values are held until the associated requests are complete and then returned to your program by the RECEIVE command. You can use any 1- to 4-character value as an identifying token. For example, you might specify:
  • A literal constant
  • An offset of a service routine
  • The address of a data structure.


eyup1bo.html | Timestamp icon Last updated: Sunday, 4 June 2017