Tag: syntax

RMAN – checksyntax

Starting RMAN with check syntax will check syntax of RMAN command, it will report errors if the syntax is incorrect. Example: -- Start RMAN with check syntax option $ $ORACLE_HOME/bin/rman checksyntax Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 22 19:49:42 2011 Copyright (c) 1982, 2005, Oracle. All rights reserved. -- Valid RMAN command, … Continue reading RMAN – checksyntax

How to check syntax of rman commands/script?

One can check syntax for RMAN commands without running the RMAN. Example: Checking syntax of commands on the command line. $ rman checksyntax Copyright (c) 1982, 2005, Oracle. All rights reserved. RMAN> backup database; The command has no syntax errors RMAN> exit Example: Checking syntax of commands on the command script. $ cat backup.txt connect … Continue reading How to check syntax of rman commands/script?