Archive for July, 2008

Database Replace Function to change profile option values

Posted on July 30, 2008. Filed under: Configuration, DBA/Admin Tips, Database, Discoverer, R12, Scripts, TroubleShooting | Tags: , , |

Heres an example of using the replace() to update profile_option_value column in fnd_profile_option_values table.
Scenario: Imagine you did a clone from DEV to TEST and in DEV there were lot of profile option values set at the responsibility and user level for the discoverer viewer url which came as is to TEST. Now you want to [...]

Read Full Post | Make a Comment ( None so far )

Active Users concurrent program never completes after clone

Posted on July 28, 2008. Filed under: Apps Technology Stack, Configuration, DBA/Admin Tips, Diagnostics, R12, TroubleShooting | Tags: , , |

Recently we did a clone (R12). Everything worked as expected, except for Active Users Concurrent program which never completed when submitted. The status remains Running – Normal for hours together. But “Prints environment variable values” concurrent program completed within no time.
This is how the issue was approached and resolved.
1. This is not a concurrent manager [...]

Read Full Post | Make a Comment ( 2 so far )

How to execute / run a report manually from command prompt

Posted on July 28, 2008. Filed under: DBA/Admin Tips, R12, TroubleShooting | Tags: , |

Eg. Active Users
rwrun report=FNDSCURS.pdf userid=apps/[passwd] desformat=xml destype=file desname=AU.xml
cheers,
OraclePitStop

Read Full Post | Make a Comment ( 1 so far )

How to enable / generate trace for a concurrent program

Posted on July 28, 2008. Filed under: DBA/Admin Tips, Diagnostics, R12 | Tags: , , |

Login as Sysadmin -> System Administrator -> Concurrent : Program -> Define
Press F11 -> Enter the COncurrent Program Name (Eg. Active Users) -> Press Ctrl + F11
Enable the check box “Enable Trace” above “Copy To” button.
Click on Save.
Close the window.
Select Requests -> Run
Submit the concurrent request.
After completion or during execution of the request, you should [...]

Read Full Post | Make a Comment ( 4 so far )

How to submit a concurrent program from command / shell prompt

Posted on July 28, 2008. Filed under: DBA/Admin Tips, Operating System, R12 | Tags: , , , , , |

We can submit concurrent programs from OS command / shell prompt using CONCSUB utility. Heres the full length syntax:
CONCSUB <APPS username>/<APPS password> \
<responsibility application short name> \
<responsibility name> \
<username> \
[WAIT=N|Y|<n seconds>] \
CONCURRENT \
<program application short name> \
<program name> \
[PROGRAM_NAME="<description>"] \
[REPEAT_TIME=<resubmission time>] \
[REPEAT_INTERVAL= <number>] \
[REPEAT_INTERVAL_UNIT=< resubmission unit>] \
[REPEAT_INTERVAL_TYPE=< resubmission type>] \
[REPEAT_END=<resubmission end date and time>] \
[NLS_LANGUAGE=<language [...]

Read Full Post | Make a Comment ( None so far )

Ad-hoc tips (fbackup/frecover commands in HP-UX)

Posted on July 22, 2008. Filed under: DBA/Admin Tips |

We use HP-UX for running one of our 11i instances and i manage the backups using fbackup and frecover commands. I am sharing the syntax for some of the basic commands. Hope it would help.
======== Fbackup =========
(1)
Create a defaults file (eg, defaults.prod) and include/exclude file systems to be backed up/excluded.
$ cat defaults.prod
i /u02/oracle
e /u02/oracle/proddb/8.1.6
i /u07/oracle/proddata
This [...]

Read Full Post | Make a Comment ( 1 so far )

How to migrate responsibility / menu / form (personalizations) from one ERP apps (11i / R12) instance to another using FNDLOAD?

Posted on July 20, 2008. Filed under: Custom, DBA/Admin Tips, R12 | Tags: , , , |

Below are the commands
===========================
RESPONSIBILITY
===========================
For migrating a responsibility we need the responsibility key value.
Steps to get the RESPONSIBILITY KEY VALUE
Login as Sysadmin
System Administrator -> Security : Responsibility -> Define
Press F11 -> Enter the Responsibility Name -> Get the responsibility key value from the Responsibility Key Text Field.
To Download
FNDLOAD apps/[APPS_PWD] 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct [give some name].ldt [...]

Read Full Post | Make a Comment ( 2 so far )

Ad-hoc Tips (HIT and MISS Ratios)

Posted on July 17, 2008. Filed under: Scripts |

Got few useful scripts to check HIT and MISS ratios… Wanted to share the same. Check out below scripts.
prompt
prompt =========================
prompt DATA DICTIONARY HIT RATIO
prompt =========================
prompt Should be higher than 90 else increase shared_pool_size in init.ora prompt
column “Data Dict. Gets” format 999,999,999
column “Data Dict. cache misses” format 999,999,999
select sum(gets) “Data Dict. Gets”,
sum(getmisses) “Data Dict. cache misses”,
trunc((1-(sum(getmisses)/sum(gets)))*100) [...]

Read Full Post | Make a Comment ( None so far )

Ad-hoc tips (High Water Mark)

Posted on July 16, 2008. Filed under: DBA/Admin Tips |

This is another tip which i used recently.
Whenever, we get alerted about a tablespace reaching threshold levels, our immediate action would be to add a datafile. In some cases, we can resize/shrink the datafiles of the tablespaces to gain space. This can be done by knowing the high-water mark of the datafile.
Metalink Note : 130866.1 [...]

Read Full Post | Make a Comment ( 1 so far )

Ad-hoc Tips (Database Links)

Posted on July 16, 2008. Filed under: DBA/Admin Tips |

Hope the Apps DBA community is doing great and is (as always) ever busy.This post is a small tip that might be of use.
Occasionally,in small companies (and most often in big companies),
there will be a necessity to create DB links between Apps database
and some legacy/standalone Oracle database.
We obviously don’t want them to
connect to our database [...]

Read Full Post | Make a Comment ( None so far )

« Previous Entries
  • a

  • Blog Stats

    • 176,733 hits

Liked it here?
Why not try sites on the blogroll...