I need to write a maintenance job to clean up operational metadata, but the cleanup script is on the services tier, while the jobs are running from engine tier. This is a windows installation, so the xmetaAdmin.bat script is the one I want to call.
When i write a job to execute the command
\\#ServicesTierServerName#\C$\IBM\InformationServer\ASBNode\bin\xmetaAdmin.bat <all params as needed>
I get an error that says 'Error: Could not find or load main class com.ibm.xmeta.admin.AdminCommand'
Any suggestions how to make this work, thanks in advance !!
How can we call xmetaAdmin.bat from a datastage job
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You need to create a batch file on the server side that includes setting all the required environment variables (not least PATH and CLASSPATH) before executing any required command.
Do you really need the C$ in the pathname?
Do you really need the C$ in the pathname?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.