ERROR: DM-EXP-0001 An expression parse error occurred at position n;Too few arguments - Lookup( alias, statement [, quote] [, max_values] ).>>>LOOKUP();.
When Cognos Data Manager is failed because of DM-EXP-0001 then you have expression error in your Lookup function code. This sign >>> is point the exact location of error. This position number n mentioned in the string "DM-EXP-0001 An expression parse error occurred at position n" is also helps you to find the position where expression error is occured.
Following are the wrong usage of Lookup function.
- Lookup(); Error position >>>LOOKUP();. Cause Missing Arguments Database alias and SQL Statement both are mandatory.
- Lookup(DatabaseAlias); Error position LOOKUP(>>>DatabaseAlias);. Cause enclose DatabaseAlias in single quotes.
- LOOKUP("DatabaseAlias");Error position LOOKUP(>>>"DatabaseAlias");. Cause Only Single Quotes are allowed to enclose any thing in a function.
- LOOKUP('DatabaseAlias);Error position LOOKUP('DatabaseAlias);>>>. Cause Closing Quotes is missing.
- LOOKUP('DatabaseAlias');Error position >>>LOOKUP('DatabaseAlias');. Cause Missing Arguments SQL Statement both are mandatory.
If you are facing any other issue, share the error message with me. I will reply the solution ASAP. Feel free to search it in our other posts.

