Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Error Compiling job routines.MDM cannot be resolved to a variable

 

I am using Talend Open Studio (version 6.4.1) to create a simple job to read from Talend MDM as source and Postgres as Target.

While creating the job I am using tMDMInput as source.

 

I am getting below error during job compilation:

org.talend.designer.runprocess.ProcessorException: Job compile errors 
At least job "job_test" has a compile errors, please fix and export again.
Error Line: 1412
Detail Message: routines.MDM cannot be resolved to a variable
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.
	at org.talend.designer.runprocess.JobErrorsChecker.checkLastGenerationHasCompilationError(JobErrorsChecker.java:326)
...

 

While looking at the job code I see below properties get associated with routines.MDM.

 

	context_tMDMInput_1
		.put(routines.MDM.WS_CLIENT_CONNECTION_TIMEOUT_KEY,
			routines.MDM
			.getWSClientTimeout(routines.MDM.WS_CLIENT_CONNECTION_TIME_VALUE));
	context_tMDMInput_1
		.put(routines.MDM.WS_CLIENT_RECEIVE_TIMEOUT_KEY,
			routines.MDM
			.getWSClientTimeout(routines.MDM.WS_CLIENT_RECEIVE_TIME_VALUE));

 

 

Labels (4)
3 Replies
Anonymous
Not applicable
Author

Hello,

Would you mind posting your component setting screenshot on forum? Is there any missing double quote"" in your component setting?

Best regards

Sabrina

Anonymous
Not applicable
Author

Here are the screen-shot of the properties and error.

All of the properties are enclosed in double quotes.

0683p000009LwK1.png0683p000009LwMp.png


Job_Error.PNG
Job_Properties.PNG
jagadish_dasari
Contributor III
Contributor III

As you can see clearly in the error message, it requires MDM routines.

When you try to connect to MDM Server from TOS-DI/BD/ESB - they all need MDM routines, however, which by default are not included even in the latest edition.

 

Work-Around:  Create a custom routine "MDM" with same code as that in MDM Edition and restart your studio it will work just as in TOS-MDM.

 

Thanks,

Jagadish.