Another thing worth mentioning is that as of version 9.4.4, you should no longer address datagroups using “$::” or “::”. Check out this thread as well:
Arie is correct. You should be using class match if you are in v11.x.x.
You will also need to drop the “$::” and/or “::” Global Variable Identifiers since they are no longer necessary as of v10.x.x. You can read more about that here: v.10 - A new iRules Namespace