SDS Message Decoding

          

Home
Up

This WebPage has been visited Hit Counter times since 3/24/98

 

SDS Message Decoding

In the Sabre processing environment, the PC (client) sends an entry to the Sabre host (server) and waits for the response before sending the next entry. A Sabre Data Source (SDS) API needs to manage the receiving of these responses on behalf of the application. This is a general synopsis of the events involved in receiving the response.

  1. Send SDS message to host, breaking it down into multiple blocks if necessary.
  2. Receive response SDS message blocks and reassemble them into a complete SDS message.
  3. Using message ID and version from SDS message as a key, retrieve MDR from local database.
  4. If MDR does not exist in the local database, retrieve MDR from Host by issuing a &&REQ/LOAD<MESSAGE ID><MESSAGE VERSION> and storing the MDR received in response in a local MDR database.
  5. Retrieve the next segment ID and nesting level.
  6. Retrieve the ID for the next element and its value.
  7. If not end of segment, go to step four.
  8. If not end of message, go to step three.
  9. Entry/Response processing is complete.