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?
Need help using exportdefjob on windows server.
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.
/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.