Oracle Error RMAN-00700: SCRIPT requires that TARGET be specified on the command line

Oracle Error Message

RMAN-00700: SCRIPT requires that TARGET be specified on the command line

Reason for the Error

A SCRIPT option was included on the RMAN command line without a specified TARGET database.

Solution

Specify the TARGET option on the RMAN command line.