Hello,
I guess you are not using an Informix database - right?
I have tested this with Informix 11 and MATCHES 'A100' returns a row...
Understand that MATCHES is Informix specific, the standard is the LIKE operator.
If it's not and Informix server, the ODI driver converts the MATCHES expression to a LIKE expression, because MATCHES does not exist on other databases. You can see this by setting FGLSQLDEBUG=3.
Since non-Informix databases have different blank padding semantics in CHAR/VARCHAR comparisons, so it's normal that you don't get the row.
To workaround this difference, you must use an equal operator instead of MATCHES when the search string does not contains * or ? characters.
However, I strongly recommend you to use a CONSTRUCT statement instead of PROMPT.
https://4js.com/techdocs/genero/fgl/devel/DocRoot/User/Construct.htmlAccording to the database type, CONSTRUCT generates a LIKE expression when needed (user still enters * or ? wildcard chars).
Cheers,
Seb