Four Stars

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));

 

 

3 REPLIES
Moderator

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

Hello,

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

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

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

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

All of the properties are enclosed in double quotes.

Job_Error.PNGJob_Properties.PNG

Five Stars

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

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.