You do not need `$(vn(cli_164_src_noccgr){s.int})` int the `sql_pvquery()` parameter, because you convert a string to integer via `{s.int}` and then it is back converted to string to build the full parameter there. No quotes are added around string variables, there is a transformation for that, iirc.
Integer values are needed only when doing arithmetic operations or when a function parameter requires a single integer value.