3.1.7.1.1 Open Cursor

This event MUST be generated with the following argument:

Return Value:

  • rCursor: A reference to the Cursor ADM element instance that was created.

The queue manager MUST perform the following actions to process this event:

  • If iQueueDesc.QueueReference is NULL:

    • Set rCursor to NULL.

    • Take no further action.

  • Instantiate a new Cursor ADM element instance, referred to as newCursor, and:

    • Add the Cursor ADM element instance referenced by newCursor to iQueueDesc.CursorCollection.

    • Generate the Initialize (section 3.2.7.1) event on the Cursor ADM element instance referenced by newCursor with the following inputs:

      • iQueueDesc := iQueueDesc

  • Set rCursor to the Cursor ADM element instance referenced by newCursor.