So calling this lookup manually from the console works as expected:
PHR>w ##class(Ens.Util.FunctionSet).Lookup("BlockFeed",key)
1
However, calling it from a method with some concatination to build the key is giving me problems:
{
set k = iParticipant _ "_" _ iFeed
w "Looking up " _ k,!
set x = ..Lookup("BlockFeed",k,"not found")
w "x = " _ x,!
}
Looking up WMMC_IMM
x = not found


