So your policy type is Oracle, not SAP?
The Policy and Schedule name can be hard-coded in the script.
Extract from manual:
Shell scripts
Use the send command or the parms operand to specify NetBackup for Oracle environment variables for use during a backup or restore.
Example 1. This example uses the send command to specify the policy and server to use for a database backup. As this example shows, specify the variables in the string in the RMAN script after all channels have been allocated and
before the backup command.
run {
allocate channel t1 type 'SBT_TAPE';
allocate channel t2 type 'SBT_TAPE';
send 'NB_ORA_POLICY=
your_policy, NB_ORA_SCHED=
your_schedule, NB_ORA_SERV=
your_server’;
backup
(database format 'bk_%U_%t');
Another alternative is to set it in bp.conf or via Env variables:
NetBackup can select a policy or schedule in error if there are several Oracle policies in its database. Try setting the SERVER and POLICY values in the bp.conf file on the client or by setting environment variables.
For example, the following C Shell setenv commands specify the Oracle policy, schedule, and server for NetBackup to use:
setenv NB_ORA_POLICY
policyname
setenv NB_ORA_SCHED
application_backup_schedule_name
setenv NB_ORA_SERV
NetBackup_server
bp.conf:
bp.conf file on the client or by setting the following bporaexp
parameters:
NB_ORA_POLICY=
policyname
NB_ORA_SCHED=
schedule
NB_ORA_SERV=
NetBackup_server
NB_ORA_CLIENT=
NetBackup_client
You did not mention your O/S or NBU version. See NBU 6.5 for Oracle on Unix manual:
ftp://exftpp.symantec.com/pub/support/products/NetBackup_Enterprise_Server/290216.pdf