ConfD User Community

How to print error info on standard output for actions?

Tried confd_action_seterr(uinfo,“b should not be equal to c”); but it is not working.
For the action execution we are not having input or o/p.

The call is like :

TRACE CALL action(usid=27,action1,/A/B{b}/C{c}/actions) --> CONFD_OK

You returned CONFD_OK. You need to return CONFD_ERR if you want the confd_action_seterr() string to have any effect. (as stated in the confd_lib_dp man page)