Project creation fails in DataStage Administrator with error, Caused by: DSR.ADMIN: Error creating DR elements. Error was Unmatched quotation marks
Technote (troubleshooting)
Problem(Abstract)
When trying to create projects in DataStage Administrator it fails with error: Caused by: DSR.ADMIN: Error creating DR elements. Error was Unmatched quotation marks, on Red Hat Linux 6.
Symptom
The following error message is received when trying to create a new project from DataStage Administrator on Red Hat Linux:
Errors were detected during project creation that may render project <Project Name> unstable.
Please contact your support provider if you encounter problems.
Caused by: DSR.ADMIN: Error creating DR elements, Error was Unmatched quotation marks.
Exception type:
Exception message: DSR.ADMIN: Error creating DR elements, Error was Unmatched quotation marks.
Exception stack trace:
Loaded modules:
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df
_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.DLL 6.10.7601.17514
C:\Windows\syswow64\WS2_32.dll 6.1.7601.17514
C:\Windows\syswow64\wininet.dll 9.0.8112.16447
C:\Windows\SysWOW64\VERSION.dll 6.1.7600.16385
C:\Windows\syswow64\USP10.dll 1.626.7601.17514
C:\Windows\syswow64\USER32.dll 6.1.7601.17514
C:\Windows\syswow64\urlmon.dll 9.0.8112.16447
C:\Windows\SysWow64\TABCTL32.OCX 6.0.90.43
...
Also, when starting DataStage, you may encounter the following error:
# bin/uv -admin -start
The following errors were encountered during environment exporting:
cmdTrace.c(713):ERROR:104: 'start' is an unrecognized subcommand
cmdModule.c(411):ERROR:104: 'start' is an unrecognized subcommand
Environment
Red Hat Linux version 6.
Resolving the problem
Although the issue manifests itself on the client, the problem resides on the server. You will need to unset some server side environment variables to resolve the problem.
- You can unset those environment variables in the dsenv file, which is located in the DSEngine directory, by adding the following entries:
unset MODULEPATH
unset MODULESHOME
unset module
- Then stop and restart DataStage Engine.