now i have my script but i'm missing the semi colon at the end of the statement. ...so how do i add semi colon to the end of the statement so it looks like this
alter database rename file '/u01/app/oracle/product/9.2.0/dbs/u01oradataH89VADMO
avapp.dbf1' TO '/u01/oradata/H89VADMO/avapp.dbf';
Worked like charm. Thanks!...so can please explain the meaning of the bang (!) notation and why you use it in the begining of the code (!TO) and at the end of the code (/H89VADMO/!).
thanks
i have this statement right :
alter database rename file '/u01/app/oracle/product/9.2.0/dbs/u01oradataH89VADMO
avapp.dbf' TO '/u01/app/oracle/product/9.2.0/dbs/u01oradataH89VADMOavapp.dbf'
but i want to change and replace the line after the 'TO' with /u01/oradata/H89VADMO/avapp.dbf
so my...
I've been trying to capture CPU and memory statistic with nmon but I'm not sure if i can pipe that to a file. Anybody knows how I can do that ?
Thanks for your help
when i run this command ps gwv i get the output with header but if i grep from the resulting output i lose the header...pls what option can i use with grep to get the header ?
Thanks!
PID TTY STAT TIME PGIN SIZE RSS LIM TSIZ TRS %CPU %MEM COMMAND
0 - A 114:43 7...
Thanks!....is $1 the same outside of the function ?. Reason is, after the above function, there's another function call $1 and $2 and i'm confused as to if it's the same value.
See code below...
###################################################################
# Function: Migrate_File...
Here's an excerpt of the code. Please somebody explain this line (MIG_INFO=`grep $1 /u02/app/psoft/fs800/$BASE_ENV_LOWER/migrations/todo/$BATCH`)...I just don't see where the $1 variable is defined anywhere in the function. The script is called M_FQA8.
Thanks for your help...
Let me give you a brief insight into what this program is doing. Our PeopleSoft developers locks batch objects (sqrs,sqc etc) everytime they make any modification to the object to prevent over-writting other developer's code. We have a tool integrated with our PeopleSoft application designer...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.