DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
jreddy



Group memberships:
Premium Members

Joined: 03 Feb 2004
Posts: 202

Points: 1953

Post Posted: Sun Jun 03, 2018 4:43 pm Reply with quote    Back to top    

DataStage® Release: 11x
Job Type: Parallel
OS: Windows
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 !!
ray.wurlod

Premium Poster
Participant

Group memberships:
Premium Members, Inner Circle, Australia Usergroup, Server to Parallel Transition Group

Joined: 23 Oct 2002
Posts: 54414
Location: Sydney, Australia
Points: 295131

Post Posted: Sun Jun 03, 2018 10:03 pm Reply with quote    Back to top    

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 real ...

_________________
RXP Services Ltd
Melbourne | Canberra | Sydney | Hong Kong | Hobart | Brisbane
currently hiring: Canberra, Sydney and Melbourne (especially seeking good business analysts)
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours