anchor.diff:  get_list_using_pid(_, _) ->
       {error, "Invalid arguments passed to get_list_using_pid()"}.
   
  +%% Function: get_elem_using_pid/2
  +%% Description: The same as get_list_using_pid/2 except this function
  +%%              returns {error, Reason} if more than one record has
  +%%              a matching pid.
  +%% Returns: [TransactionStateRecord] |
  +%%          none
  +%%--------------------------------------------------------------------
   get_elem_using_pid(Pid, TStateList) when record(TStateList, transactionstatelist), pid(Pid) ->
       case get_using_pid2(Pid, TStateList#transactionstatelist.list, []) of
   	[] ->
  
positive.code: 	    get_server_transaction_using_stateless_response_branch2(Id, T)
      end.
  
  get_elem(Type, Id, TStateList) when record(TStateList, transactionstatelist) ->
      get_elem(Type, Id, TStateList#transactionstatelist.list);
  
  
negative.code: get_elem(Type, Id, [H | T]) when record(H, transactionstate) ->
      get_elem(Type, Id, T).
  
  
  %% Function: get_elem_ackid/4
  %% Description: Find a single element from a transactionstatelist
  %%              which has a matching ack_id and response_to_tag.
  %% Returns: TransactionStateRecord |
  %%          none
  %%--------------------------------------------------------------------
  get_elem_ackid(Type, AckId, ToTag, TStateList) when record(TStateList, transactionstatelist) ->
      get_elem_ackid(Type, AckId, ToTag, TStateList#transactionstatelist.list);
  
  