Hello,
i found the trick.
1. Remove the extension .hdbrole from your the role file
ex: iotaccess.hdbrole -> iotaccess
It becomes a normal file withtou extension and editable
2. past the code
role xxxtrial.iotmmsxsv2::iotaccess {
application privilege: xxxtrial.iotmmsxsv2::Basic;
catalog schema "NEO_yyyy": SELECT;
}
3. bring back the extension to the file ( .hdbrole)
4. Send the command in the catalog in sql interface
call "HCP"."HCP_GRANT_ROLE_TO_USER"('xxxtrial.iotmmsxsv2::iotaccess_user', 'xxx');
It works for me.