Thanks Sam,
I think you mentioned a very important point.
But in the framework, we always took the queue refnum which been created before loop start, in this case, we can make sure very time, the enqueue function will use a valid refnum, if I am wrong, please correct me, thank you.