Need help using exportdefjob on windows server.

Everything about Control-M Enterprise Manager Server installation or setup.
Post Reply
User avatar
jstarkw
Nouveau
Nouveau
Posts: 58
Joined: 14 Jan 2010 12:00

Need help using exportdefjob on windows server.

Post by jstarkw » 03 Nov 2010 1:27

I am trying to export job definitions from Ctrlm/em 6.4.01.200 windows mssql databases. The command I run is this

exportdefjob -USERNAME emuser -PASSWORD empassword -HOST EM_CTRLM
-ARG_FILE D:\argfile.xml -OUT_FILE D:\outfile

argfile.xml contains:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE TERMS SYSTEM "terms.dtd">
<TERMS>
<TERM>
<PARAM NAME="DATACENTER" OP="EQ"
VALUE="CTRLM"/>
</TERM>
</TERMS>

running this returns:

No jobs matched the search criteria.

what am i missing?

User avatar
jstarkw
Nouveau
Nouveau
Posts: 58
Joined: 14 Jan 2010 12:00

Post by jstarkw » 03 Nov 2010 2:34

Problem solved. Just need to add the /a option


/a Accept all. Directs the utility to automatically reset the Author parameter
to the current CONTROL-M/EM user when these two values do not match.
If not specified, the utility skips every job definition whose Author does
not match the currently logged in user.

Post Reply