PROBLEM: Error received Running RMANScript job type in emcli
(Doc ID 1145415.1)
Last updated on NOVEMBER 16, 2022
Applies to:
Enterprise Manager Base Platform - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]Information in this document applies to any platform.
Goal
- emcli does not recognize a job of type "RMANScript".
- OS and SQL Script jobs can be submitted via emcli with the following methods:
* emcli submit_job -job="job_host_0:OSCommand" -parameters="command:ls;args:-l;username:joe;password:greetings" -targets="<HOSTNAME>.<DOMAIN_NAME>:host"
* emcli submit_job -job="job_db_1:SQLScript" -parameters="sql_script:SQL_FILE" -targets="database:oracle_database" -input_file="SQL_FILE:script.sql"
- emcli does not support the job type "RMANScript".
Submitting a job with the "RMANScript" job type will result in this error:
*emcli submit_job -job="test_job:RMANScript" -targets="<HOSTNAME>.<DOMAIN_NAME>:oracle_database" -parameters="rman_perl_script"
Syntax Error: Invalid value for parameter "parameters": "rman_perl_script". Reason: "rman_perl_script" is not a name-value pair.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |