Thereafter, the get count is cleared, STEP 504, and the queue is unlocked, STEP 506.
A determination is made as to the size of the tail of the queue (QSIZETAIL) and the size of the head of the queue (QSIZEHEAD), STEP 508.