|
My script is not running
I have wriiten the following scripts in UNIX. The file name is bk.ksh
rman target=/ << EOF
RUN {
SHUTDOWN IMMEDIATE
STARTUP MOUNT
ALLOCATE CHANNEL ch1 device TYPE
DISK FORMAT '/u01/oradata/ora/%U';
BACKUP DATABASE PLUS ARCHIVELOG;
SQL'ALTER DATABASE OPEN'
;}
EXIT;
EOF
when i try to run by chmod u+x /u01/oradata/ora/bk.ksh, i cant see if it ran successfully or not. i go to /u01/oradata/ora directory to see if the above scripts generated any output, i dont see nothing. How i can find out why my script is not running? Why it does not generated any output? Is there any way in UNIX to find out the mistakes? Please help.
|