environment variable in RMAN script ?
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: environment variable in RMAN script ?

  1. #1
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    Can we use environment variables in RMAN script?

    I tried to use it in format command like..

    format '$BACKUP_DIR/%d_db_t%t_s%s_p%p'

    and getting this error

    ORA-07217: sltln: environment variable cannot be evaluated.


    Sanjay

  2. #2
    Join Date
    Jul 2002
    Posts
    132
    U cannot use env variable there. U can pass environment variables inside the backup script like this:

    allocate channel c1 type 'SBT_TAPE' parms 'ENV=(NSR_CHECKSUM=TRUE)'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width