Can anybody provide AIX shell script for Oracle Apps R12 instance backup
Hi
Can anybody provide AIX shell script for Oracle Apps R12 instance backup? Manually, i am able to backup but i donot have shell script to schedule through crontab.
Help me please.
Thanks
Rman can be used for Database, not for Application tier. Again, I assumed you are looking for a script to backup the database. For the application tier, you can simply do a filesystem backup.
I still do not understand your concern? Is it about using crontab? If so, then check here --> man crontab <--
Similar Messages
-
Shell scripting for oracle DBs
looking for good source for shell scripting for oracle DBs
Just buy 'Classic Shell Scripting' and 'the Unix Desktop Reference' both published by O'Reilly and you have it all.
But if you want a platform agnostic scripting language use Perl. Comes with Oracle.
However both bash and kornshell are a lot easier compared to Perl.
Sybrand Bakker
Senior Oracle DBA -
Rational Robot Test Scripts for Oracle Application Vanilla Instance
Hi,
Does anybody have Rational Robot Test Scripts for Oracle Applications Vanilla Instance. We are in the process of automating testing. But for the same, we need to have the test scripts for the standard functionalities/flows.
Any help would be highly appreciated.
kanjurmHi;
I belive there is no sch a script as you mention. Please log a SR for your request
Regard
Helios -
How to reset TimeZone in oracle apps R12 instance?
Dear
I need to reset TimeZone in Oracle Apps R12 instance. When i ran Oracle Diagnostics,Java system properties report,i found that user.timezone=GMT-03:00.This is the reason showing time on Oracle Application Manager is wrong.
I need to reset to GMT+03:00, how do i reset the timezone?
Please help me.
Thanks
AteeqYes, the date is set properly at the OS level.
TimeZone values are as follows:
Profile Option Name Site
Client Timezone (GMT -06:00) Central Time
Enable Timezone Conversions No
JTF_CAL_DEFAULT_TIMEZONE 4
LE: Enable Legal Entity Timezone -
Server Timezone (GMT -06:00) Central Time
Service: Default value for Service Request Timezone type List Item Agent -
Can anybody Provide the Docs/Ppts for Business content
Hi
Can anyone Provide the Docs/Ppts for Businesscontent.
to my id [email protected].
Thanks in Advance
ChaitanyaHi,
Refer SAP Help for Buss Content
http://help.sap.com/saphelp_bw31/helpdata/en/80/1a66d5e07211d2acb80000e829fbfe/content.htm. -
Shell Scripts in oracle Apps on Windows
Hi Experts,
Usually we are using shell scripts on Linux, but here i am using windows for Oracle applications, how can i write Shell scripts for concurrent program, is there any way to achieve this. Please suggest me.
Thanks,
RED.Please see these docs/links.
How Do You Run A Unix Host Script From Concurrent Managers On MS Windows Platform? [ID 412392.1]
https://forums.oracle.com/forums/search.jspa?threadID=&q=host+AND+Concurrent+AND+Windows&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Can HTML based pages be auditable in Oracle Apps R12?
Hi
I would like to know whether HTML based pages be auditable in Oracle Apps R12? LIke who has accessed OAM>sitemap>monitoring>current activity>user monitoring etc.
RegardsHi,
Please see these documents.
For 11i:
Note: 557730.1 - Web Apps Not Updating Last Login Date In Fnd_Login_Responsibilities
Note: 278881.1 - Page Access Tracking in Oracle Applications 11i
For R12:
Note: 402116.1 - Page Access Tracking in Oracle Applications Release 12
Thanks,
Hussein -
Laptop configuratio for Oracle Apps R12 installation
hi,
I would like to buy a laptop, which should support Oracle Apps R12 and Linux also, any body have idea about required configuration of laptop which support above requirement, please share it.
Thanks
venSome requirements are documented in the install guide and in ML note 402310.1
http://download.oracle.com/docs/cd/B40089_10/current/acrobat/120oaig.pdf
HTH
Srini Chavali -
Hi All
I am planning to monitor oracle through Unix scripts.Can anybody tell me where can i find such readymade scripts e.g. to check if Instance is up and running,listener is up and running,error in alert log,space in tablespace etc...
Thanx
GaganI think asm is in an early adoption phase, as there are few sites that reference to asm administration scripts, but a couple can be found, just to start:
http://halisway.hifichoice.com/oraasm
and a sample asm to list files:
##### list_all_files.sql
##### generate a list of all the asm files / directories / aliasses for a given database
column full_alias_path format a70
column file_type format a15
select concat('+'||gname, sys_connect_by_path(aname, '/')) full_alias_path,
system_created, alias_directory, file_type
from ( select b.name gname, a.parent_index pindex, a.name aname,
a.reference_index rindex , a.system_created, a.alias_directory,
c.type file_type
from v$asm_alias a, v$asm_diskgroup b, v$asm_file c
where a.group_number = b.group_number
and a.group_number = c.group_number(+)
and a.file_number = c.file_number(+)
and a.file_incarnation = c.incarnation(+)
start with (mod(pindex, power(2, 24))) = 0
and rindex in
( select a.reference_index
from v$asm_alias a, v$asm_diskgroup b
where a.group_number = b.group_number
and (mod(a.parent_index, power(2, 24))) = 0
and a.name = '&DATABASENAME'
connect by prior rindex = pindex;~ Madrid. -
Shell script for oracle alert.log file
Hi Gurus,
I wanted to write shell script to know the last 10 shutdown timings of the database from alert log file. I'm working on oracle 9i.
Could anyone please advice on this.
Thanks in advance
regards,
Shaan
Edited by: Shaan_dmp on Jan 5, 2009 1:27 PM
Edited by: Shaan_dmp on Jan 5, 2009 1:28 PMUse awk. I don't have a 9i to hand but here is a very simple version for 10g XE
My awk file (the line numbers are for the notes below - don't include them:
01:BEGIN { prevline = "";}
02:
03:/Completed: alter database close/ {print prevline,FS,$0;}
04:
05:{prevline = $0;}The command line and results (from my 300k alert log)
$ awk -f alert.awk.txt alert_xe.log
Fri Apr 11 18:08:40 2008 Completed: alter database close normal
Fri May 16 18:53:21 2008 Completed: alter database close normal
Tue May 20 17:28:23 2008 Completed: alter database close normal
Thu Jul 17 19:08:52 2008 Completed: alter database close normal
Fri Aug 15 15:12:48 2008 Completed: alter database close normal
Wed Nov 05 08:52:59 2008 Completed: alter database close normal
Fri Nov 14 16:36:03 2008 Completed: alter database close normal
Tue Dec 09 10:46:23 2008 Completed: alter database close normal
Mon Jan 05 11:12:22 2009 Completed: alter database close normalWhat it means:
1) the BEGIN section at line 01 defines the variable to hold the previous line
2) the /search string/ at line 03 finds the marker in the file for a shutdown, then does the required action (print the time which was in the previous line, and then this line; use FS (the awk field separator - normally space) as a separator
3) at line 05 is an instruction we do on every line - so we remember it in case it is the timestamp for the shutdown.
Now, you can include more of the corner cases for shutdowns by adding more search patterns etc. For more information, google for awk examples.
Awk is really good at this sort of thing!
HTH
Regards Nigel -
Can anybody fix this apple script for me so all the responses work
iv been working on a jarvis wake up script and iv continued to add on commands to if theResponce parts of the script but now most of them wont work and i get a syntax if i dont have like 8 end if's at the end of the script could somebody please overview it, fix the script and resubmit it to me in the comments. will be so grateful if somebody fixes this pleasee.!!!!
set theHours to hours of the (current date)
if theHours > 18 then
say "good evening sir"
else if theHours > 12 then
say "good afternoon sir"
else if theHours > 6 then
say "good Morning sir"
else if theHours > 0 then
say "get out of bed sir!"
end if
say "It is " & getTimeInHoursAndMinutes() using "Tom"
on getTimeInHoursAndMinutes()
set timeStr to time string of (current date)
set Pos to offset of ":" in timeStr
set theHour to characters 1 thru (Pos - 1) of timeStr as string
set timeStr to characters (Pos + 1) through end of timeStr as string
-- Get the "minute"
set Pos to offset of ":" in timeStr
set theMin to characters 1 thru (Pos - 1) of timeStr as string
set timeStr to characters (Pos + 1) through end of timeStr as string
--Get "AM or PM"
set Pos to offset of " " in timeStr
set theSfx to characters (Pos + 1) through end of timeStr as string
return (theHour & ":" & theMin & " " & theSfx) as string
end getTimeInHoursAndMinutes
set CityCode to 1098081
set t_format to "C"
set v_format to "S"
set a_format to "Y"
set IURL to "http://weather.yahooapis.com/forecastrss?w=" & CityCode
set file_content to (do shell script "curl " & IURL)
--looking for the line with actual condition
set theText to text ((offset of "yweather:condition" in file_content) + 1) thru -1 of file_content
set sub_1 to text ((offset of "\"" in theText) + 1) thru -1 of theText
set actual_condition to text 1 thru ((offset of "\"" in sub_1) - 1) of sub_1
set sub_1a to text ((offset of "temp=" in sub_1)) thru -1 of sub_1
set sub_1b to text ((offset of "\"" in sub_1a) + 1) thru -1 of sub_1a
set actual_temp to text 1 thru ((offset of "\"" in sub_1b) - 1) of sub_1b
if t_format is equal to "C" then
set actual_temp to (5 / 9) * (actual_temp - 32) as integer
end if
set theText to text ((offset of "yweather:forecast" in file_content) + 1) thru -1 of file_content
set sub_2 to text ((offset of "\"" in theText) + 1) thru -1 of theText
set today_min_temp to word 9 of sub_2
set today_max_temp to word 12 of sub_2
if t_format is equal to "C" then
set today_min_temp to (5 / 9) * (today_min_temp - 32) as integer
set today_max_temp to (5 / 9) * (today_max_temp - 32) as integer
end if
set sub_3 to text ((offset of "text" in sub_2) + 1) thru -1 of sub_2
set sub_4 to text ((offset of "\"" in sub_3) + 1) thru -1 of sub_3
set today_forecast to text 1 thru ((offset of "\"" in sub_4) - 1) of sub_4
set sub_5 to text ((offset of "yweather:forecast" in sub_4) + 1) thru -1 of sub_4
set sub_6 to text ((offset of "\"" in sub_5) + 1) thru -1 of sub_5
set tomorrow_min_temp to word 9 of sub_6
set tomorrow_max_temp to word 12 of sub_6
if t_format is equal to "C" then
set tomorrow_min_temp to (5 / 9) * (tomorrow_min_temp - 32) as integer
set tomorrow_max_temp to (5 / 9) * (tomorrow_max_temp - 32) as integer
end if
set sub_7 to text ((offset of "text" in sub_6) + 1) thru -1 of sub_6
set sub_8 to text ((offset of "\"" in sub_7) + 1) thru -1 of sub_7
set tomorrow_forecast to text 1 thru ((offset of "\"" in sub_8) - 1) of sub_8
if a_format is equal to "Y" then
say "The current conditions in Perth are " & actual_condition & " ,and the current temperture is " & actual_temp & " degrees"
end if
if v_format is equal to "L" then
say "Today it will be : " & today_forecast & ". Temperature: between " & today_min_temp & " and " & today_max_temp & " degrees .
Tomorrow we are expecting it to be: " & tomorrow_forecast & ". Temperature: between " & today_min_temp & " and " & today_max_temp & " degrees " using "Tom"
else
say "Today it will be : " & today_forecast & ", between " & today_min_temp & " , and " & today_max_temp & " degrees .
Tomorrow we are expecting it to be: " & tomorrow_forecast & ", between " & tomorrow_min_temp & " ,and " & tomorrow_max_temp & " degrees " using "Tom"
say "will that be all sir?"
tell application "SpeechRecognitionServer" to set theResponse to listen for {"get my mail ", "yes", "notes", "repeat", "Music", "Sleep in"}
if theResponse is "Sleep in" then
delay 6
say "Time to get up sir,or you will be late"
tell application "SpeechRecognitionServer" to set theResponse2 to listen for {"Ok pat im getting up"}
if theResponse2 is "Ok pat im getting up" then
set volume 35
tell application "iTunes"
set the sound volume to 0
play user playlist "Wake up"
repeat 10 times
if sound volume is less than 40 then
set sound volume to (sound volume + 10)
delay 2
end if
end repeat
end tell
if theResponse is "Music" then
set volume 20
tell application "iTunes"
set the sound volume to 0
play user playlist "Wake up"
repeat 10 times
if sound volume is less than 60 then
set sound volume to (sound volume + 10)
delay 2
end if
end repeat
end tell
if theResponse is "yes" then
delay 1
set theOptions to {"very good, sir, have a nice day"}
set theChoice to some item of theOptions
say theChoice displaying theChoice with waiting until completion
end if
if theResponse is "get my mail " then
tell application "Mail" to launch
end if
if theResponse is "notes" then
tell application "Stickies" to launch
end if
if theResponse is "repeat" then
set CityCode to 1098081
set t_format to "C"
set v_format to "S"
set a_format to "Y"
set IURL to "http://weather.yahooapis.com/forecastrss?w=" & CityCode
set file_content to (do shell script "curl " & IURL)
--looking for the line with actual condition
set theText to text ((offset of "yweather:condition" in file_content) + 1) thru -1 of file_content
set sub_1 to text ((offset of "\"" in theText) + 1) thru -1 of theText
set actual_condition to text 1 thru ((offset of "\"" in sub_1) - 1) of sub_1
set sub_1a to text ((offset of "temp=" in sub_1)) thru -1 of sub_1
set sub_1b to text ((offset of "\"" in sub_1a) + 1) thru -1 of sub_1a
set actual_temp to text 1 thru ((offset of "\"" in sub_1b) - 1) of sub_1b
if t_format is equal to "C" then
set actual_temp to (5 / 9) * (actual_temp - 32) as integer
end if
set theText to text ((offset of "yweather:forecast" in file_content) + 1) thru -1 of file_content
set sub_2 to text ((offset of "\"" in theText) + 1) thru -1 of theText
set today_min_temp to word 9 of sub_2
set today_max_temp to word 12 of sub_2
if t_format is equal to "C" then
set today_min_temp to (5 / 9) * (today_min_temp - 32) as integer
set today_max_temp to (5 / 9) * (today_max_temp - 32) as integer
end if
set sub_3 to text ((offset of "text" in sub_2) + 1) thru -1 of sub_2
set sub_4 to text ((offset of "\"" in sub_3) + 1) thru -1 of sub_3
set today_forecast to text 1 thru ((offset of "\"" in sub_4) - 1) of sub_4
set sub_5 to text ((offset of "yweather:forecast" in sub_4) + 1) thru -1 of sub_4
set sub_6 to text ((offset of "\"" in sub_5) + 1) thru -1 of sub_5
set tomorrow_min_temp to word 9 of sub_6
set tomorrow_max_temp to word 12 of sub_6
if t_format is equal to "C" then
set tomorrow_min_temp to (5 / 9) * (tomorrow_min_temp - 32) as integer
set tomorrow_max_temp to (5 / 9) * (tomorrow_max_temp - 32) as integer
end if
set sub_7 to text ((offset of "text" in sub_6) + 1) thru -1 of sub_6
set sub_8 to text ((offset of "\"" in sub_7) + 1) thru -1 of sub_7
set tomorrow_forecast to text 1 thru ((offset of "\"" in sub_8) - 1) of sub_8
if a_format is equal to "Y" then
say "The current conditions in Perth are " & actual_condition & " ,and the current temperture is " & actual_temp & " degrees"
end if
if v_format is equal to "L" then
say "Today it will be : " & today_forecast & ". Temperature: between " & today_min_temp & " and " & today_max_temp & " degrees .
Tomorrow we are expecting it to be: " & tomorrow_forecast & ". Temperature: between " & today_min_temp & " and " & today_max_temp & " degrees " using "Tom"
else
say "will that be all sir?"
tell application "SpeechRecognitionServer" to set theResponse3 to listen for {"get my mail ", "yes", "notes", "Music"}
if theResponse3 is "Music" then
set volume 20
tell application "iTunes"
set the sound volume to 0
play user playlist "Wake up"
repeat 10 times
if sound volume is less than 60 then
set sound volume to (sound volume + 10)
delay 2
end if
end repeat
end tell
else
if theResponse3 is "get my mail " then
tell application "Mail" to launch
end if
if theResponse3 is "yes" then
delay 1
set theOptions to {"very good, sir, have a nice day"}
set theChoice to some item of theOptionsWhat you do in this situation, is split the file into parts.
Start with:
set theHours to hours of the (current date)
if theHours > 18 then
say "good evening sir"
else if theHours > 12 then
say "good afternoon sir"
else if theHours > 6 then
say "good Morning sir"
else if theHours > 0 then
say "get out of bed sir!"
end if
Add in a few lines of code to this file and see what happens.
add the on run, this would be clearer. It is the default on unit to run.
on run
set theHours to hours of the (current date)
if theHours > 18 then
say "good evening sir"
else if theHours > 12 then
say "good afternoon sir"
else if theHours > 6 then
say "good Morning sir"
else if theHours > 0 then
say "get out of bed sir!"
end if
end run
Now, it is time for debugging.
It is easier to diagnose problems with debug information. I suggest adding log statements to your script to see what is going on. Here is an example.
Author: rccharles
For testing, run in the Script Editor.
1) Click on the Event Log tab to see the output from the log statement
2) Click on Run
on run
-- Write a message into the event log.
log " --- Starting on " & ((current date) as string) & " --- "
-- debug lines
set desktopPath to (path to desktop) as string
log "desktopPath = " & desktopPath
end run -
Tools for Developing/Customizing Forms for Oracle Apps R12.1
Hi All,
Could you please help me identify the tools and correct version for developing and customizing Forms for Oracle E-Business Suite R12.1?
Regards,
KKAlso, could you please elaborate your 2nd point regarding template.fmb The Oracle EBS uses a framework. Starting any new (custom) form for the EBS should ALWAYS begin with the template.fmb to ensure your new form has all of the required objects to comply with EBS Forms development standards. You might want to take a look at the Oracle Applications Documentation library. Select your EBS version and then scroll to the Standards section and review the following documents:
<ul>
<li>Oracle Applications Developer's Guide
<li>Oracle Applications User Interface Standards for Forms-Based Products
<li>Oracle Application Framework Personalization Guide
</ul>
Craig... -
Shell Scripts for Directory Creation !
Hi All
Where can we find the Shell scripts for creating Directories before installing SAP SM 7.0 on RHEL 5.2 ?
Please let me know.
Thanks
SrikarYes - it may be necessary if that is a completely new machine.
But it's not that much work for that you would need a script, you can create multiple at once using
mkdir -p /oracle/<SID>/102_64
mkdir -p /oracle/<SID>/sapbackup
etc.
If you don't create them now, sapinst will tell you to create them, it won't stop with an error.
Markus -
FTP files from Unix box to Windows ( Shell script )--inplemention in Apps
Hi,
I have an requirement like need to send files generated at a particular path in the UNIX sever into Windows machine.
This should be a scheduler( can we create any shell script
) for this...
Note : files generated at Unix move into Windows box....
Please check and help on this... and let me know if any clarification required on my requirement.
Thanks,
Pavan KThis is relatively easy to do. You will need to write the shell script code and register it as a concurrent program of type "Host". Pl see the Application Developer Guide (for 11i and R12) at http://www.oracle.com/technology/documentation/applications.html for details on how to register a shell script "Host" custom program.
ML Docs 266268.1, 147455.1, 1013907.6 and 156636.1 have some more info too.
HTH
Srini -
Oracle XML Gateway Message Designer for Oracle EBS R12.1.2
Goog Day to everyone!
I'm Looking for the tool "XML Gateway Message Designer". I have found in Metalink(Oracle Support) the note ID 557101.1, here explain how to get the message designer for Oracle Apps R12. It says that you have to download the patch 4066964. This patch install the Oracle Workflow Builder (2.6.3.0.1) and the Oracle XML Gateway Message Designer (2.6.3). This tools are supported to be used with Oracle Apps 11.5.10 and 12.0.X.
The release of Oracle Apps that I'm using is 12.1.2.
Questions:
- The version of the Message Designer that you get from patch 4066964 works for OraApps R12.1.2 ?
- The version of the Workflow Builder that you get from patch 4066964 works for OraApps R12.1.2 ?
- If the version of Message Designer doesn't work with OraApps R12.1.2, where can I find one that works with it?
Thanks for your advice.
LCJHi Hussein,
Thanks for replay.
I downloaded the rapid install package from e-delivery. The B53824-01_4of4 was the OWB installer, and it has a readme file that says: "+This patch contains Oracle Workflow Builder (version 2.6.3.0.1) and Oracle XML Gateway Message Designer (version 2.6.3). These client tools are supported for use with an Oracle E-Business Suite Release 12.1 instance.+"
I believe, as well as you, that it should be work for 12.1.2.
I'm gonna make some test, and in a few days I will post my results.
Thanks for the help.
LCJ
Maybe you are looking for
-
How do i print calendar from icloud using windows 7?
Forgive me if this question is out there and has been answered – I'm sure it is but I can't find it. How do I print a day or series of days of my calendar from icloud? I have an ipad mini and ipad 2 but I want to print the calendar from icloud using
-
How do I get Calendar to suggest name and address from Contacts on my iPhone 5 in iOS 8?
How do I get Calendar to suggest name and address from Contacts on my iPhone 5 in iOS 8?
-
When i try to open itunes i get a message that says the file "itunes library .itl" cannot be read because it was created by a newer version of itunes
-
SCCM console launch fails , SQL connectivity issue with SCCM machine account
Hi , As part of resolving the corrupt SCCM 2012 R2 environment, we have uninstalled the site from the Standalone primary site and restored it from the last backup. The database is on remote server on SQL 2012 SP1. Only Site recovery is run. Post the
-
CRM BW Implementation - Very Very Urgent
Hi Guru's, CRM is one of the area for BI Implementation in our project and I have been asked to handle this. This is the forst time that I am dealing with CRM, prior to this, I have no idea about CRM. Is the Data Modelling part, extraction, Reporting