<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1635032788162922534</id><updated>2012-01-15T00:40:40.951-08:00</updated><category term='Oracle Applications ERP'/><category term='Oracle Application Server'/><category term='Oracle CPU Cumulative Patch Updates'/><category term='RAC Real Application Clusters'/><category term='Oracle Dataguard'/><category term='Oracle Instances'/><category term='Redhat Linux'/><category term='Identity and Access Management IAM'/><category term='Oracle General'/><category term='Sql Server'/><category term='Oracle Applications Implementation Methodology (AIM)'/><category term='Oracle ASM'/><title type='text'>Oracle Applications Implementation Consultant</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>60</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-1659933505822669211</id><published>2012-01-15T00:23:00.000-08:00</published><updated>2012-01-15T00:40:40.967-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>Useful scripts for Oracle Applications DBA</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Query to find the request group of a concurrent program&lt;br /&gt;&lt;/strong&gt;&lt;span style="color:#000099;"&gt;select distinct request_group_name from apps.FND_REQUEST_GROUPS FRG,apps.FND_REQUEST_GROUP_UNITS FRGU,apps.FND_CONCURRENT_PROGRAMS_VL FCP&lt;br /&gt;where FCP.USER_CONCURRENT_PROGRAM_NAME like '&amp;amp;Conc_Program_Name' and FCP.CONCURRENT_PROGRAM_ID=FRGU.REQUEST_UNIT_ID&lt;br /&gt;and FRGU.REQUEST_GROUP_ID=FRG.REQUEST_GROUP_ID&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;Query to check the middle tier sessions&lt;br /&gt;&lt;/strong&gt;&lt;span style="color:#000099;"&gt;select machine,&lt;br /&gt;sum(decode(s.status,'ACTIVE',1,0)) totact,&lt;br /&gt;sum(decode(s.status,'INACTIVE',1,0)) totinact,&lt;br /&gt;count(*) totsess,&lt;br /&gt;min(to_char(s.logon_time,'mm/dd hh24:mi')) earliest_logon,&lt;br /&gt;max(to_char(s.logon_time,'mm/dd hh24:mi')) latest_logon&lt;br /&gt;from v$session s&lt;br /&gt;where s.type = 'USER'&lt;br /&gt;group by s.machine&lt;br /&gt;order by 4,1&lt;br /&gt;&lt;/span&gt;/&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;FND_NODES query&lt;br /&gt;&lt;/strong&gt;&lt;span style="color:#3333ff;"&gt;select&lt;br /&gt;node_id,&lt;br /&gt;platform_code,&lt;br /&gt;support_db D,&lt;br /&gt;support_cp C,&lt;br /&gt;support_admin A,&lt;br /&gt;support_forms F,&lt;br /&gt;support_web W,&lt;br /&gt;node_name,&lt;br /&gt;server_id,&lt;br /&gt;server_address,&lt;br /&gt;domain,&lt;br /&gt;webhost,&lt;br /&gt;virtual_ip&lt;br /&gt;from&lt;br /&gt;fnd_nodes&lt;br /&gt;order by node_id;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;Query to know what changes a patch has made on the instance&lt;br /&gt;&lt;/strong&gt;&lt;span style="color:#6600cc;"&gt;Select&lt;br /&gt;J.PATCh_NAME,&lt;br /&gt;H.APPLICATIONS_SYSTEM_NAME Instance_Name,&lt;br /&gt;H.NAME,&lt;br /&gt;I.DRIVER_FILE_NAME,&lt;br /&gt;D.APP_SHORT_NAME appl_top,&lt;br /&gt;D.SUBDIR,&lt;br /&gt;D.FILENAME,&lt;br /&gt;max(F.VERSION) latest,&lt;br /&gt;E.ACTION_CODE action&lt;br /&gt;from&lt;br /&gt;AD_BUGS A,&lt;br /&gt;AD_PATCH_RUN_BUGS B,&lt;br /&gt;AD_PATCH_RUN_BUG_ACTIONS C,&lt;br /&gt;AD_FILES D,&lt;br /&gt;AD_PATCH_COMMON_ACTIONS E,&lt;br /&gt;AD_FILE_VERSIONS F,&lt;br /&gt;AD_PATCH_RUNS G,&lt;br /&gt;AD_APPL_TOPS H,&lt;br /&gt;AD_PATCH_DRIVERS I,&lt;br /&gt;AD_APPLIED_PATCHES J&lt;br /&gt;where&lt;br /&gt;A.BUG_ID = B.BUG_ID and&lt;br /&gt;B.PATCH_RUN_BUG_ID = C.PATCH_RUN_BUG_ID and&lt;br /&gt;C.FILE_ID = D.FILE_ID and&lt;br /&gt;E.COMMON_ACTION_ID = C.COMMON_ACTION_ID and&lt;br /&gt;D.FILE_ID = F.FILE_ID and&lt;br /&gt;G.APPL_TOP_ID = H.APPL_TOP_ID and&lt;br /&gt;G.PATCH_DRIVER_ID = I.PATCH_DRIVER_ID and&lt;br /&gt;I.APPLIED_PATCH_ID = J.APPLIED_PATCH_ID and&lt;br /&gt;B.PATCH_RUN_ID = G.PATCH_RUN_ID and&lt;br /&gt;C.EXECUTED_FLAG = 'Y' and&lt;br /&gt;G.PATCH_DRIVER_ID in&lt;br /&gt;(select PATCH_DRIVER_ID&lt;br /&gt;from AD_PATCH_DRIVERS&lt;br /&gt;where APPLIED_PATCH_ID in&lt;br /&gt;(select APPLIED_PATCH_ID&lt;br /&gt;from AD_APPLIED_PATCHES&lt;br /&gt;where PATCH_NAME = '&amp;amp;Patch_Number'))&lt;br /&gt;GROUP BY&lt;br /&gt;J.PATCH_NAME,&lt;br /&gt;H.APPLICATIONS_SYSTEM_NAME,&lt;br /&gt;H.NAME,&lt;br /&gt;I.DRIVER_FILE_NAME,&lt;br /&gt;D.APP_SHORT_NAME,&lt;br /&gt;D.SUBDIR,&lt;br /&gt;D.FILENAME,&lt;br /&gt;E.ACTION_CODE;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Query to know patch details in the instance.&lt;br /&gt;&lt;/strong&gt;&lt;span style="color:#000099;"&gt;select&lt;br /&gt;D.PATCH_NAME,&lt;br /&gt;B.APPLICATIONS_SYSTEM_NAME,&lt;br /&gt;-- B.INSTANCE_NAME,&lt;br /&gt;B.NAME,&lt;br /&gt;C.DRIVER_FILE_NAME,&lt;br /&gt;A.PATCH_DRIVER_ID,&lt;br /&gt;A.PATCH_RUN_ID,&lt;br /&gt;A.SESSION_ID,&lt;br /&gt;A.PATCH_TOP,&lt;br /&gt;A.START_DATE,&lt;br /&gt;A.END_DATE,&lt;br /&gt;A.SUCCESS_FLAG,&lt;br /&gt;A.FAILURE_COMMENTS&lt;br /&gt;from&lt;br /&gt;AD_PATCH_RUNS A,&lt;br /&gt;AD_APPL_TOPS B,&lt;br /&gt;AD_PATCH_DRIVERS C,&lt;br /&gt;AD_APPLIED_PATCHES D&lt;br /&gt;where&lt;br /&gt;A.APPL_TOP_ID = B.APPL_TOP_ID AND&lt;br /&gt;A.PATCH_DRIVER_ID = C.PATCH_DRIVER_ID AND&lt;br /&gt;C.APPLIED_PATCH_ID = D.APPLIED_PATCH_ID AND&lt;br /&gt;A.PATCH_DRIVER_ID in&lt;br /&gt;(select PATCH_DRIVER_ID&lt;br /&gt;from AD_PATCH_DRIVERS&lt;br /&gt;where APPLIED_PATCH_ID&lt;br /&gt;in&lt;br /&gt;(select APPLIED_PATCH_ID&lt;br /&gt;from AD_APPLIED_PATCHES&lt;br /&gt;where PATCH_NAME = '&amp;amp;patch_number'))&lt;br /&gt;ORDER BY 3;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;Query to show the applications users currently connected based on the sid.&lt;br /&gt;&lt;/strong&gt;&lt;span style="color:#000099;"&gt;select to_char(max(l.start_time),'mm/dd/yy hh:mi:ssAM') startedat,&lt;br /&gt;a.time,&lt;br /&gt;u.user_name,&lt;br /&gt;u.description ,&lt;br /&gt;s.sid,&lt;br /&gt;p.spid,&lt;br /&gt;u.description,&lt;br /&gt;a.user_form_name&lt;br /&gt;from applsys.fnd_logins l,&lt;br /&gt;applsys.fnd_user u,&lt;br /&gt;apps.fnd_signon_audit_view a,&lt;br /&gt;v$process p,&lt;br /&gt;v$session s&lt;br /&gt;where s.paddr = p.addr&lt;br /&gt;and p.pid = l.pid&lt;br /&gt;and l.end_time is null&lt;br /&gt;and l.spid = s.process&lt;br /&gt;and l.start_time is not null&lt;br /&gt;-- and l.start_time = u.last_logon_date&lt;br /&gt;-- and l.session_number = u.session_number&lt;br /&gt;and l.user_id = u.user_id&lt;br /&gt;and u.user_id = a.user_id&lt;br /&gt;and p.pid = a.pid&lt;br /&gt;and&lt;br /&gt;((upper(a.user_form_name) like upper('%&amp;amp;trgtform%')) or (upper('&amp;amp;trgtform') = 'ALL'))&lt;br /&gt;and l.start_time = (select max&lt;br /&gt;(l2.start_time)&lt;br /&gt;from applsys.fnd_logins l2&lt;br /&gt;where l2.pid = l.pid)&lt;br /&gt;group by&lt;br /&gt;u.user_name, u.description,a.time,a.user_form_name, s.sid,p.spid&lt;br /&gt;order by to_char(max(l.start_time),'mm/dd/yy&lt;br /&gt;hh:mi:ssAM'),a.time;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Query to see the top10 jobs based on total runtime for today&lt;br /&gt;&lt;/strong&gt;&lt;span style="color:#000099;"&gt;select * from (&lt;br /&gt;select q.concurrent_queue_name qname,&lt;br /&gt;c.concurrent_program_name&lt;br /&gt;' (' to_char&lt;br /&gt;(c.concurrent_program_id) ')' intprog,&lt;br /&gt;ctl.user_concurrent_program_name "program",&lt;br /&gt;sum((nvl&lt;br /&gt;(actual_completion_date,sysdate)-actual_start_date)*1440) "TotTime",&lt;br /&gt;count(*),&lt;br /&gt;avg((nvl&lt;br /&gt;(actual_completion_date,sysdate)-actual_start_date)*1440) "AvgTime"&lt;br /&gt;from APPLSYS.fnd_Concurrent_requests&lt;br /&gt;a,APPLSYS.fnd_concurrent_processes b&lt;br /&gt;,applsys.fnd_concurrent_queues q&lt;br /&gt;,APPLSYS.fnd_concurrent_programs c&lt;br /&gt;,APPLSYS.fnd_concurrent_programs_tl ctl&lt;br /&gt;where a.controlling_manager = b.concurrent_process_id&lt;br /&gt;and a.concurrent_program_id =&lt;br /&gt;c.concurrent_program_id&lt;br /&gt;and a.program_application_id = c.application_id&lt;br /&gt;and b.queue_application_id = q.application_id&lt;br /&gt;and b.concurrent_queue_id = q.concurrent_queue_id&lt;br /&gt;and ctl.concurrent_program_id = c.concurrent_program_id&lt;br /&gt;and&lt;br /&gt;ctl.language = 'US'&lt;br /&gt;and trunc(actual_completion_date) = trunc(sysdate)&lt;br /&gt;and actual_start_date is not null&lt;br /&gt;and&lt;br /&gt;actual_completion_date is not null&lt;br /&gt;group by q.concurrent_queue_name,&lt;br /&gt;c.concurrent_program_name ' (' to_char&lt;br /&gt;(c.concurrent_program_id) ')' ,&lt;br /&gt;ctl.user_concurrent_program_name&lt;br /&gt;order by 4 desc)&lt;br /&gt;where rownum &amp;lt; 11; Query to get the application user name based on the SID. select /*+ rule */ to_char(s.logon_time,'mm/dd/yy hh:mi:ssAM') startedat, a.time, floor (s.last_call_et/3600)':' floor(mod(s.last_call_et,3600)/60)':' mod(mod(s.last_call_et,3600),60) "LastCallET", u.user_name, u.description , s.module ' - ' a.user_form_name forminfo from applsys.fnd_logins l, applsys.fnd_user u, apps.fnd_signon_audit_view a, v$process p, v$session s where s.sid = &amp;amp;trgtsid and s.paddr = p.addr and p.pid = l.pid and l.end_time is null and l.spid = s.process and l.start_time is not null -- and l.start_time = u.last_logon_date -- and l.session_number = u.session_number and l.user_id = u.user_id and u.user_id = a.user_id and p.pid = a.pid and l.start_time = (select max(l2.start_time) from applsys.fnd_logins l2 where l2.pid = l.pid) group by to_char (s.logon_time,'mm/dd/yy hh:mi:ssAM'), floor(s.last_call_et/3600)':' floor(mod (s.last_call_et,3600)/60)':' mod(mod(s.last_call_et,3600),60), u.user_name, u.description,a.time,s.module ' - ' a.user_form_name order by to_char(s.logon_time,'mm/dd/yy hh:mi:ssAM'),a.time; Query to get the server tiers active sessions select replace(s.machine,'HEADLANDS\',null) usersrvr, s.sid, to_char(s.logon_time,'mm/dd hh24:mi') logonat, floor(last_call_et/3600)':' floor(mod(last_call_et,3600)/60)':' mod(mod(last_call_et,3600),60) "LastCallET", s.osuser, nvl(s.module,p.program) sessprog, w.event, w.state, p.spid, decode(h.sid,null,'None',h.name) holdinglatch from v$session s, v$session_wait w, v$process p, v$latchholder h where type = 'USER' and status = 'ACTIVE' and s.sid = w.sid and s.paddr = p.addr and s.osuser is not null and s.sid = h.sid (+) order by 1,4 &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Script to generate an Automatic workload repository report. &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;SQL&amp;gt; @E:\R12\11.1.0\RDBMS\ADMIN\awrrpt.sql&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Current Instance DB Id DBName Instance&lt;br /&gt;----------- ----------------&lt;br /&gt;402873117 KLONE klone&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#cc0000;"&gt;Enter value for report_type: &amp;lt;---here you can enter 'html' or 'text' based on the output type you want. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#cc0000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#cc0000;"&gt;Enter value for num_days:&amp;lt;---here enter the number of days will result in the most recent days of snapshots being listed. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#cc0000;"&gt;Example if we enter 2 here will show two days of snapshots that are automatically stored in the database. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#cc0000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#cc0000;"&gt;Enter value for begin_snap:&amp;lt;---here enter the begin snapshot number &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#cc0000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#cc0000;"&gt;Enter value for end_snap:&amp;lt;---here enter the end snapshot number &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#cc0000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#cc0000;"&gt;Enter value for report_name:&amp;lt;---awrrpt_1_2579_2580.html &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;This will generate the html report output for the performance analysis. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;How to identify and remove locks on the table &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Login to database as SYS or SYSTEM user. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Find out the SESSION_ID by running the following &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;SELECT SESSION_ID FROM DBA_DML_LOCKS WHERE NAME = Table Name; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Use this session id to find SERIAL# by using following &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;SELECT statment SELECT SID,SERIAL# FROM V$SESSION WHERE SID IN (SELECT SESSION_ID FROM DBA_DML_LOCKS WHERE NAME = Table Name)&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Use ALTER SYSTEM command to KILL SESSION and this will release the lock. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;ALTER SYSTEM KILL SESSION 'SID,SERIALl#';&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Query to check database growth in previous months &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;select to_char(creation_time, 'RRRR Month') "Month",sum(bytes)/1024/1024 "Growth in Meg" from sys.v_$datafile where creation_time &amp;gt; SYSDATE-365&lt;br /&gt;group by creation_time&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Query to see the top 10 io datafiles for write activity&lt;br /&gt;&lt;/strong&gt;&lt;span style="color:#000099;"&gt;select * from (&lt;br /&gt;select substr(f.name,8,(instr(f.name,'/',9,1) -8)) fsmtpt,&lt;br /&gt;substr(f.name,(instr(f.name,'/',-1,1)+1)) fname,&lt;br /&gt;s.phyrds, s.phywrts,s.lstiotim,s.avgiotim&lt;br /&gt;from v$datafile f, v$filestat s&lt;br /&gt;where f.file# = s.file#&lt;br /&gt;order by 4 desc)&lt;br /&gt;where rownum &amp;lt; 11;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#990000;"&gt;Don't hesitate to contact me if you need any technical assistance for Oracle Applications DBA related work. &lt;/span&gt;&lt;a href="mailto:samiora@gmail.com"&gt;&lt;span style="color:#990000;"&gt;samiora@gmail.com&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="color:#990000;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-1659933505822669211?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/1659933505822669211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/1659933505822669211'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2012/01/useful-scripts-for-oracle-applications.html' title='Useful scripts for Oracle Applications DBA'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-9167691863722264392</id><published>2011-12-05T06:08:00.000-08:00</published><updated>2011-12-06T05:56:05.654-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>All about Oracle Concurrent Manager</title><content type='html'>The concurrent manager in Oracle EBS is a very important service. It manages the concurrentrequests submitted by users and does batch processing and report generation.&lt;br /&gt;&lt;br /&gt;This blog article will help administrators to get insight of the concurrent manager and also control over its functionality.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Master Concurrent Managers&lt;/strong&gt;&lt;br /&gt;There are many concurrent managers in Oracle EBS application like Output Post Processor (related to XML publisher reports), Workflow Agent Listener Service (related to workflow notifications), Workflow Mailer Service (related to workflow notification mailer setup), Workflow Document Web Services Service, etc. But among all these concurrent managers are the three super concurrent managers and they are,&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#3333ff;"&gt;Internal Concurrent Manager&lt;/span&gt;&lt;/em&gt; — The master manager is called the Internal Concurrent Manager (ICM) because it controls the behavior of all of the other managers, and because the ICM is the boss, it must be running before any other managers can be activated. The main functions of the ICM are to start up and shutdown the individual concurrent managers, and reset the other managers after one of them has a failure.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#3333ff;"&gt;Standard Manager&lt;/span&gt;&lt;/em&gt; — Another important master Concurrent Manager is called the Standard Manager (SM). The SM functions to run any reports and batch jobs that have not been defined to run in any specific product manager. Examples of specific concurrent managers include the Inventory Manager, CRP Inquiry Manager, and the Receivables Tax Manager.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#3333ff;"&gt;Conflict Resolution Manager&lt;/span&gt;&lt;/em&gt; — The Conflict Resolution Manager (CRM) functions to check concurrent program definitions for incompatibility rules. However, the ICM can be configured to take over the CRM's job to resolve incompatibilities.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Enable Tracing for Concurrent Programs&lt;/strong&gt;&lt;br /&gt;For troubleshooting purposes if you want to enable tracing for a concurrent program then goto System Administrator--&amp;gt;Concurrent--&amp;gt;Program--&amp;gt;Define--&amp;gt;Here tick the checkbox 'Enable Trace' for the specific concurrent program that you want to generate trace for.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-NEoDi-JgClA/TtzZ5yMKk0I/AAAAAAAAAGU/ao1LxiDyG4I/s1600/enable%2Btracing.jpg"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 327px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5682656416583291714" border="0" alt="" src="http://4.bp.blogspot.com/-NEoDi-JgClA/TtzZ5yMKk0I/AAAAAAAAAGU/ao1LxiDyG4I/s400/enable%2Btracing.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now let's see as an Apps DBA, how to monitor and Tune the concurrent manager;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Tuning the Internal Concurrent Manager (ICM)&lt;/strong&gt;&lt;br /&gt;The ICM performance is affected by the three important Oracle parameters PMON cycle, queue size, and sleep time.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;PMON cycle&lt;/span&gt; — This is the number of sleep cycles that the ICM waits between the time it checks for concurrent managers failures, which defaults to 20. You should change the PMON cycle to a number lower than 20 if your concurrent managers are having problems with abnormal terminations.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Queue Size&lt;/span&gt; — The queue size is the number of PMON cycles that the ICM waits between checking for disabled or new concurrent managers. The default for queue size of 1 PMON cycle should be used.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Sleep Time&lt;/span&gt; — The sleep time parameter indicates the seconds that the ICM should wait between checking for requests that are waiting to run. The default sleep time is 60, but you can lower this number if you see you have a lot of request waiting (Pending/Normal). However, reducing this number to a very low value many cause excessive cpu utilization.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-UiXde8KxJY0/Ttzbpi6iTzI/AAAAAAAAAGg/M_2LFtrB4Dw/s1600/sleep%2Btime.jpg"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 293px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5682658336628166450" border="0" alt="" src="http://3.bp.blogspot.com/-UiXde8KxJY0/Ttzbpi6iTzI/AAAAAAAAAGg/M_2LFtrB4Dw/s400/sleep%2Btime.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Purging Concurrent Requests&lt;/strong&gt;&lt;br /&gt;It is recommended to run this program 'Purge concurrent request/manager data' once every week as a meintenance task. Sometimes some report output files doesn't get deleted so it is required to Set the system profile option "Concurrent: Force Local Output File Mode" to "Yes". You need to apply patch 7530490 for R12 (or) 7834670 for 11i to get this profile.&lt;br /&gt;&lt;br /&gt;Refer Note.822368.1: Purge Concurrent Request FNDCPPUR Does Not Delete Files From File System or Slow performance&lt;br /&gt;&lt;br /&gt;Note:- The profile option "Concurrent: Force Local Output File Mode" is set to "No" by default. After applying the patch, set the profile option to YES will&lt;br /&gt;cause FNDCPPUR to always access files on the local file system, hence FNDCPPUR will remove the OS files faster.To enable this feature, All Concurrent Manager nodes must be able to access the output file location via the local filesystem.&lt;br /&gt;Ensure that the log/out files are removed from the locations shown below as you run "Purge Concurrent Request and/or Manager Data program".&lt;br /&gt;$APPLCSF/$APPLLOG==&amp;gt;P:\oracle\inst\apps\proderp_prodapp\logs\appl\conc\log $APPLCSF/$APPLOUT==&amp;gt;P:\oracle\inst\apps\proderp_prodapp\logs\appl\conc\out&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Truncate the reports.log file in log directory&lt;/strong&gt;.&lt;br /&gt;Refer Note.844976.1 for more details.&lt;br /&gt;Truncation of file "reports.log" is a regular maintenance work of Application DBA. Make sure that reports log file size should not increase to its maximum limit of 2 GB. There is no purge program to truncate file "reports.log". This maintenance needs to be done manually and regularly depending on number of concurrent program which uses "reports.log". You can safely truncate "reports.log". The "reports.log" file can be located under $APPLCSF/$APPLLOG.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Adjusting the Concurrent Manager Cache Size&lt;/strong&gt;&lt;br /&gt;Concurrent manager performance can also be enhanced by increasing the manager cache size to be at lease twice the number of target processes. The cache size specifies the number of requests that will be cached each time the concurrent manager reads from the FND_CONCURRENT_REQUESTS table. Increasing the cache size will boost the throughput of the managers by attempting to avoid sleep time.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Analyzing Oracle Apps Dictionary Tables for High Performance&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;It is also very important to run the request Gather Table Statistics on these tables:&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;FND_CONCURRENT_PROCESSES&lt;br /&gt;FND_CONCURRENT_PROGRAMS&lt;br /&gt;FND_CONCURRENT_REQUESTS&lt;br /&gt;FND_CONCURRENT_QUEUES.&lt;br /&gt;&lt;/span&gt;Run the request "Analyze All Index Column Statistics" on the indexes of these tables. Since the APPLSYS user is the owner of these tables, so you can also just run the request Analyze Schema Statistics for APPLSYS.&lt;br /&gt;To troubleshoot performance, a DBA can use three types of trace. A module trace, such as PO or AR, can be set by enabling the module's profile option Debug Trace from within the applications. Second, most concurrent requests can be set to generate a trace file by changing the request parameters. To enable trace for a specific request, log in as a user with the System Administrator responsibility. Navigate to Concurrent -&amp;gt; Program -&amp;gt; Define. Query for the request that you want to enable trace. In the first picture given above you can check the box Enable Trace.&lt;br /&gt;&lt;br /&gt;Another popular way to troubleshoot the Concurrent Managers is to generate a trace file. This is done by setting the OS environment variable FNDSQLCHK to FULL, and running the request from the command line.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Monitoring Pending Requests in the Concurrent Managers&lt;br /&gt;&lt;/strong&gt;Occasionally, you may find that requests are stacking up in the concurrent managers with a status of "pending". This can be caused by any of these conditions:&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;1. The concurrent managers were brought down will a request was running.&lt;br /&gt;2. The database was shutdown before shutting down the concurrent managers.&lt;br /&gt;3. There is a shortage of RAM memory or CPU resources. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When you get a backlog of pending requests, you can first allocate more processes to the manager that is having the problem in order to allow most of the requests to process, and then make a list of the requests that will not complete so they can be resubmitted, and cancel them.&lt;br /&gt;To allocate more processes to a manager, log in as a user with the System Administrator responsibility. Navigate to Concurrent -&amp;gt; Manager -&amp;gt; Define. Increase the number in the Processes column (check second picture on this page).&lt;br /&gt;&lt;br /&gt;Also, you may not need all the concurrent managers that Oracle supplies with an Oracle Applications install, so you can save resources by identifying the unneeded managers and disabling them.&lt;br /&gt;&lt;br /&gt;However, you can still have problems. If the request remains in a phase of RUNNING and a status of TERMINATING after allocating more processes to the manager, then shutdown the concurrent managers, kill any processes from the operating system that won't terminate, and execute the following sqlplus statement as the APPLSYS user to reset the managers in the FND_CONCURRENT_REQUESTS table:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;update fnd_concurrent_requests set status_code='X', phase_code='C'where status_code='T';&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Changing Dispatching Priority within the Concurrent Manager&lt;br /&gt;&lt;/strong&gt;(Check first picture on this page) If there are requests that have a higher priority to run over other requests, you can navigate to Concurrent --&amp;gt; Program --&amp;gt; Define to change the priority of a request. If a priority is not set for a request, it will have the same priority as all other requests, or it will be set to the value specified in the user's profile option Concurrent:Priority.&lt;br /&gt;Also, you can specify that a request run using an SQL optimizer mode of FIRST_ROWS, ALL_ROWS, RULE, or CHOOSE, and this can radically effect the performance of the SQL inside the Concurrent request. If several long running requests are submitted together, they can cause fast running requests to have to wait unnecessarily. If this is occurring, try to schedule as many long running requests to run after peak business hours. Additionally, a concurrent manager can be created to run only fast running requests. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Using data Dictionary Scripts with the Concurrent Manager&lt;br /&gt;Few Oracle Applications DBAs understand that sophisticated data dictionary queries can be run to reveal details about the workings within each Concurrent Manager. Oracle provides several internal tables that can be queried from SQL*Plus to see the status of the concurrent requests, and the most important are FND_CONCURRENT_PROGRAMS and FND_CONCURRENT_REQUESTS.&lt;br /&gt;&lt;br /&gt;Oracle supplies &lt;strong&gt;several useful scripts&lt;/strong&gt;, (located in $FND_TOP/sql directory), for monitoring the concurrent managers:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;afcmstat.sql&lt;/span&gt; Displays all the defined managers, their maximum capacity, pids, and their status.&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;afimchk.sql&lt;/span&gt; Displays the status of ICM and PMON method in effect, the ICM's log file, and determines if the concurrent manger monitor is running.&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;afcmcreq.sql&lt;/span&gt; Displays the concurrent manager and the name of its log file that processed a request.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;afrqwait.sql&lt;/span&gt; Displays the requests that are pending, held, and scheduled.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;afrqstat.sql&lt;/span&gt; Displays of summary of concurrent request execution time and status since a particular date.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;afqpmrid.sql&lt;/span&gt; Displays the operating system process id of the FNDLIBR process based on a concurrent request id. The process id can then be used with the ORADEBUG utility.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;afimlock.sql &lt;/span&gt;Displays the process id, terminal, and process id that may be causing locks that the ICM and CRM are waiting to get. You should run this script if there are long delays when submitting jobs, or if you suspect the ICM is in a gridlock with another oracle process.&lt;br /&gt;&lt;br /&gt;In addition to these canned scripts you can skill write custom Concurrent Manager scripts. For example, the following query can be executed to identify requests based on the number of minutes the request ran:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;SELECT&lt;br /&gt;fcr.request_id request_id,&lt;br /&gt;TRUNC(((fcr.actual_completion_date-fcr.actual_start_date)/(1/24))*60) exec_time,&lt;br /&gt;fcr.actual_start_date start_date,&lt;br /&gt;fcp.concurrent_program_name conc_prog,&lt;br /&gt;fcpt.user_concurrent_program_name user_conc_prog&lt;br /&gt;FROM&lt;br /&gt;fnd_concurrent_programs fcp,&lt;br /&gt;fnd_concurrent_programs_tl fcpt,&lt;br /&gt;fnd_concurrent_requests fcr&lt;br /&gt;WHERE&lt;br /&gt;TRUNC(((fcr.actual_completion_date-fcr.actual_start_date)/(1/24))*60) &amp;gt; NVL('&amp;amp;min',45)&lt;br /&gt;and&lt;br /&gt;fcr.concurrent_program_id = fcp.concurrent_program_id&lt;br /&gt;and&lt;br /&gt;fcr.program_application_id = fcp.application_id&lt;br /&gt;and&lt;br /&gt;fcr.concurrent_program_id = fcpt.concurrent_program_id&lt;br /&gt;and&lt;br /&gt;fcr.program_application_id = fcpt.application_id&lt;br /&gt;and&lt;br /&gt;fcpt.language = USERENV('Lang')&lt;br /&gt;ORDER BY&lt;br /&gt;TRUNC(((fcr.actual_completion_date-fcr.actual_start_date)/(1/24))*60) desc;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;Note that this script prompts you for the number of minutes.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Conclusion&lt;br /&gt;&lt;/strong&gt;The Oracle Concurrent Managers remain one of Oracle most important components for the Oracle Applications eBusiness suite and they perform an important TP monitor function. It is only by properly understand the functions and tuning of the Concurrent Managers that the Oracle Apps DBA can be successful in keep their sophisticated Applications optimizer for high-performance.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-size:85%;"&gt;References: Oracle Metalink and sir Burlesons site. &lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;If you have any question please don't hesitate to email me at &lt;a href="mailto:samiora@gmail.com"&gt;samiora@gmail.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-9167691863722264392?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/9167691863722264392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/9167691863722264392'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2011/12/all-about-oracle-concurrent-manager.html' title='All about Oracle Concurrent Manager'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-NEoDi-JgClA/TtzZ5yMKk0I/AAAAAAAAAGU/ao1LxiDyG4I/s72-c/enable%2Btracing.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-1140368412243092598</id><published>2011-11-01T23:41:00.000-07:00</published><updated>2011-11-01T23:44:32.790-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>How to apply patch when adpatch is running</title><content type='html'>&lt;strong&gt;How to apply patch when adpatch is currently running?&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;Some times you might apply a patch and during the process the patch failed at some workers, you search on metalink and find out that you need to apply patch in order to solve this failure, here in this case you have two options either to cancel the current patch and apply the fixing patch then reapply the patch again or you can do the following (apply the fixing patch without the need to reapply the first patch and its very helpful when you applying a huge patch).&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Steps to do that are:&lt;br /&gt;&lt;/em&gt;1. Using the adctrl utility, shutdown the workers.&lt;br /&gt;2. Backup the FND_INSTALL_PROCESSES and AD_DEFERRED_JOBS tables.&lt;br /&gt;3. Backup the .rf9 files located in $APPL_TOP/admin//restart directory.&lt;br /&gt;4. Drop the FND_INSTALL_PROCESSES and AD_DEFERRED_JOBS tables.&lt;br /&gt;5. Apply the new patch. Once this new patch is appiled successfully, then restart the previous failed patch by the following steps.&lt;br /&gt;6. Restore the backed up .rf9 files.&lt;br /&gt;7. Restore the FND_INSTALL_PROCESSES table.&lt;br /&gt;8. Restore the AD_DEFERRED_JOBS table.&lt;br /&gt;9. Re-create synonyms for APPLSYS.AD_DEFERRED_JOBS and APPLSYS.FND_INSTALL_PROCESSES.&lt;br /&gt;10. Start adpatch, it will resume where it stopped previously.&lt;br /&gt;&lt;br /&gt;If you need any assistance please don't hesitate to email me [samiora@gmail.com]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-1140368412243092598?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/1140368412243092598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/1140368412243092598'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2011/11/how-to-apply-patch-when-adpatch-is.html' title='How to apply patch when adpatch is running'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-435399381380864812</id><published>2011-10-16T01:33:00.000-07:00</published><updated>2011-10-16T01:45:26.739-07:00</updated><title type='text'>Linux Logical Volume Manager LVM</title><content type='html'>PARTITION---&amp;gt;PHYSICAL VOLUME ---&amp;gt; VOLUME GROUP ---&amp;gt; LOGICAL VOLUME&lt;br /&gt;&lt;br /&gt;-&amp;gt; LVM is a method of allocating hard drive space into logical volumes that can be easily resized.&lt;br /&gt;-&amp;gt; With LVM, the hard drive or set of hard drives is allocated to one or more Physical Volumes.&lt;br /&gt;-&amp;gt; The Physical volume PV are then combined into Volume Groups VG.&lt;br /&gt;&lt;br /&gt;Steps for creating normal volumes&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. Create partition&lt;/strong&gt;&lt;br /&gt;# fdisk /dev/sda&lt;br /&gt;:l &amp;lt;- this gives all ID's i.e. list all known partion types&lt;br /&gt;:t &amp;lt;- to change partition's system ID&lt;br /&gt;:9 &amp;lt;- example partion number to be created&lt;br /&gt;:8e &amp;lt;- 'linux LVM' system partion type code&lt;br /&gt;:p &amp;lt;- print the partition table&lt;br /&gt;:w &amp;lt;- write talbe to disk and exit&lt;br /&gt;&lt;br /&gt;The above steps create a new partition with 'linux LVM' type.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. Check and create physical volumes&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;[root@dregpodb /]# pvdisplay&lt;br /&gt;&lt;br /&gt;--- Physical volume ---&lt;br /&gt;PV Name /dev/dm-8&lt;br /&gt;VG Name vg01&lt;br /&gt;PV Size 150.00 GB / not usable 4.00 MB&lt;br /&gt;Allocatable yes (but full)&lt;br /&gt;PE Size (KByte) 4096&lt;br /&gt;Total PE 38399&lt;br /&gt;Free PE 0&lt;br /&gt;Allocated PE 38399&lt;br /&gt;PV UUID kuEpoH-xXL0-c7LU-Vf6Q-7Uj7-xxKn-MmmZLV&lt;br /&gt;&lt;br /&gt;--- Physical volume ---&lt;br /&gt;PV Name /dev/cciss/c0d0p2&lt;br /&gt;VG Name vg00&lt;br /&gt;PV Size 136.20 GB / not usable 14.56 MB&lt;br /&gt;Allocatable yes&lt;br /&gt;PE Size (KByte) 32768&lt;br /&gt;Total PE 4358&lt;br /&gt;Free PE 102&lt;br /&gt;Allocated PE 4256&lt;br /&gt;PV UUID 12osfI-bJBr-NtUy-0mo7-j3ZD-Aeqx-9m0N3P&lt;br /&gt;&lt;br /&gt;[root@dregpodb /]#pvcreate /dev/dm-9&lt;br /&gt;&lt;br /&gt;[root@dregpodb /]# pvdisplay&lt;br /&gt;--- Physical volume ---&lt;br /&gt;PV Name /dev/dm-9&lt;br /&gt;VG Name vg02&lt;br /&gt;PV Size 100.00 GB / not usable 4.00 MB&lt;br /&gt;Allocatable yes (but full)&lt;br /&gt;PE Size (KByte) 4096&lt;br /&gt;Total PE 25599&lt;br /&gt;Free PE 0&lt;br /&gt;Allocated PE 25599&lt;br /&gt;PV UUID 6Mjkim-P13j-Afu2-pUE7-E4l2-VfyB-dZ68VE&lt;br /&gt;&lt;br /&gt;--- Physical volume ---&lt;br /&gt;PV Name /dev/dm-8&lt;br /&gt;VG Name vg01&lt;br /&gt;PV Size 150.00 GB / not usable 4.00 MB&lt;br /&gt;Allocatable yes (but full)&lt;br /&gt;PE Size (KByte) 4096&lt;br /&gt;Total PE 38399&lt;br /&gt;Free PE 0&lt;br /&gt;Allocated PE 38399&lt;br /&gt;PV UUID kuEpoH-xXL0-c7LU-Vf6Q-7Uj7-xxKn-MmmZLV&lt;br /&gt;&lt;br /&gt;--- Physical volume ---&lt;br /&gt;PV Name /dev/cciss/c0d0p2&lt;br /&gt;VG Name vg00&lt;br /&gt;PV Size 136.20 GB / not usable 14.56 MB&lt;br /&gt;Allocatable yes&lt;br /&gt;PE Size (KByte) 32768&lt;br /&gt;Total PE 4358&lt;br /&gt;Free PE 102&lt;br /&gt;Allocated PE 4256&lt;br /&gt;PV UUID 12osfI-bJBr-NtUy-0mo7-j3ZD-Aeqx-9m0N3P&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. Volume Group creation&lt;br /&gt;&lt;/strong&gt;#vgcreate vg02 /dev/dm-9&lt;br /&gt;&lt;br /&gt;[root@dregpodb /]# vgdisplay&lt;br /&gt;--- Volume group ---&lt;br /&gt;VG Name vg02&lt;br /&gt;System ID&lt;br /&gt;Format lvm2&lt;br /&gt;Metadata Areas 1&lt;br /&gt;Metadata Sequence No 2&lt;br /&gt;VG Access read/write&lt;br /&gt;VG Status resizable&lt;br /&gt;MAX LV 0&lt;br /&gt;Cur LV 1&lt;br /&gt;Open LV 1&lt;br /&gt;Max PV 0&lt;br /&gt;Cur PV 1&lt;br /&gt;Act PV 1&lt;br /&gt;VG Size 100.00 GB&lt;br /&gt;PE Size 4.00 MB&lt;br /&gt;Total PE 25599&lt;br /&gt;Alloc PE / Size 25599 / 100.00 GB&lt;br /&gt;Free PE / Size 0 / 0&lt;br /&gt;VG UUID LdtcHj-g26p-BSRu-g9Wi-vcqj-dQki-nGoM2e&lt;br /&gt;&lt;br /&gt;--- Volume group ---&lt;br /&gt;VG Name vg01&lt;br /&gt;System ID&lt;br /&gt;Format lvm2&lt;br /&gt;Metadata Areas 1&lt;br /&gt;Metadata Sequence No 2&lt;br /&gt;VG Access read/write&lt;br /&gt;VG Status resizable&lt;br /&gt;MAX LV 0&lt;br /&gt;Cur LV 1&lt;br /&gt;Open LV 1&lt;br /&gt;Max PV 0&lt;br /&gt;Cur PV 1&lt;br /&gt;Act PV 1&lt;br /&gt;VG Size 150.00 GB&lt;br /&gt;PE Size 4.00 MB&lt;br /&gt;Total PE 38399&lt;br /&gt;Alloc PE / Size 38399 / 150.00 GB&lt;br /&gt;Free PE / Size 0 / 0&lt;br /&gt;VG UUID dhdeBn-kdIP-frWp-gODa-9X6f-0dW7-rOAmzQ&lt;br /&gt;&lt;br /&gt;--- Volume group ---&lt;br /&gt;VG Name vg00&lt;br /&gt;System ID&lt;br /&gt;Format lvm2&lt;br /&gt;Metadata Areas 1&lt;br /&gt;Metadata Sequence No 9&lt;br /&gt;VG Access read/write&lt;br /&gt;VG Status resizable&lt;br /&gt;MAX LV 0&lt;br /&gt;Cur LV 8&lt;br /&gt;Open LV 8&lt;br /&gt;Max PV 0&lt;br /&gt;Cur PV 1&lt;br /&gt;Act PV 1&lt;br /&gt;VG Size 136.19 GB&lt;br /&gt;PE Size 32.00 MB&lt;br /&gt;Total PE 4358&lt;br /&gt;Alloc PE / Size 4256 / 133.00 GB&lt;br /&gt;Free PE / Size 102 / 3.19 GB&lt;br /&gt;VG UUID JYPuCP-9ezo-hg8v-pvE9-1GAL-8o4F-UhezPC&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4. Logical Volume Creation&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;# lvcreate -L 100g /dev/vg02 -n /dev/vg02/lvol01&lt;br /&gt;&lt;br /&gt;[root@dregpodb /]# lvdisplay -v&lt;br /&gt;Finding all logical volumes&lt;br /&gt;--- Logical volume ---&lt;br /&gt;LV Name /dev/vg02/lvol01&lt;br /&gt;VG Name vg02&lt;br /&gt;LV UUID T5EIW5-OiIS-WhvA-Wp0d-X0mL-4tKF-GxXY4u&lt;br /&gt;LV Write Access read/write&lt;br /&gt;LV Status available&lt;br /&gt;# open 2&lt;br /&gt;LV Size 100.00 GB&lt;br /&gt;Current LE 25599&lt;br /&gt;Segments 1&lt;br /&gt;Allocation inherit&lt;br /&gt;Read ahead sectors auto&lt;br /&gt;- currently set to 256&lt;br /&gt;Block device 253:10&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5. Format and mount logical volumes&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;#mkfs.ext3 /dev/vg02/lvol01&lt;br /&gt;#mkdir /u01&lt;br /&gt;#mount /dev/vg02/lvol01 /u01&lt;br /&gt;#df -h&lt;br /&gt;[root@dregpodb /]# df -h&lt;br /&gt;Filesystem Size Used Avail Use% Mounted on&lt;br /&gt;/dev/mapper/vg00-lvol01&lt;br /&gt;9.7G 435M 8.8G 5% /&lt;br /&gt;/dev/mapper/vg00-lvol04&lt;br /&gt;12G 3.4G 7.7G 31% /usr&lt;br /&gt;/dev/mapper/vg00-lvol03&lt;br /&gt;9.7G 157M 9.1G 2% /home&lt;br /&gt;/dev/mapper/vg00-lvol05&lt;br /&gt;9.7G 336M 8.9G 4% /var&lt;br /&gt;/dev/mapper/vg00-lvol08&lt;br /&gt;49G 42G 4.1G 92% /u03&lt;br /&gt;/dev/mapper/vg00-lvol07&lt;br /&gt;9.7G 187M 9.1G 2% /tmp&lt;br /&gt;/dev/mapper/vg00-lvol06&lt;br /&gt;15G 320M 14G 3% /opt&lt;br /&gt;/dev/cciss/c0d0p1 487M 21M 441M 5% /boot&lt;br /&gt;tmpfs 3.9G 0 3.9G 0% /dev/shm&lt;br /&gt;/dev/mapper/vg01-lvol0&lt;br /&gt;148G 33G 108G 24% /u02&lt;br /&gt;/dev/mapper/vg02-lvol01&lt;br /&gt;99G 42G 52G 45% /u01&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;6. Resizing the logical volume&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;#lvresize -L +50g /dev/vg02/lvol01 &amp;lt;-This will add 50g to existing 100g size&lt;br /&gt;#resize2fs /dev/vg02/lvol01 &amp;lt;-This will update the kernel with changes&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;7. Extending size of a volume group&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;#vgdisplay&lt;br /&gt;#vgextend /dev/vg02 /dev/sda12&lt;br /&gt;#vgdisplay&lt;br /&gt;&lt;br /&gt;To check graphically about volumes use the following tool,&lt;br /&gt;#system-config-lvm &amp;amp;&lt;br /&gt;&lt;br /&gt;--------Additional commands------------&lt;br /&gt;eject &amp;lt;-- To eject cd-rom device&lt;br /&gt;eject -t &amp;lt;-- To insert the cd-rom device&lt;br /&gt;init 6 &amp;lt;-- to reboot server&lt;br /&gt;&lt;br /&gt;hwbrowser &amp;amp;&amp;lt;-- To view available free space of a disk&lt;br /&gt;df -h &amp;lt;-- To view free space in a partition&lt;br /&gt;du -sh &amp;lt;--- To view total amount of used space in a partition directory&lt;br /&gt;&lt;br /&gt;e2label /dev/sda8 sami &amp;lt;-- To add a lable&lt;br /&gt;e2label /dev/sda8 "" &amp;lt;-- To remove a lable&lt;br /&gt;&lt;br /&gt;mkfs.etc3 L sami /dev/sda8 &amp;lt;-- format the partition and add a lable&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-435399381380864812?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/435399381380864812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=435399381380864812' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/435399381380864812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/435399381380864812'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2011/10/linux-logical-volume-manager-lvm.html' title='Linux Logical Volume Manager LVM'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-2701842491009021537</id><published>2011-09-11T09:11:00.000-07:00</published><updated>2011-09-08T01:29:20.386-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>Oracle EBS r12 troubleshooting &amp; useful notes</title><content type='html'>&lt;span style="color:#cc0000;"&gt;1. Canceling of concurrent Request Gives “the concurrent manager process that was running this request has exited abnormally “&lt;br /&gt;&lt;/span&gt;Some times we get a Request from customers that they are unable to cancel the request because of this error&lt;br /&gt;&lt;br /&gt;“the concurrent manager process that was running this request has exited abnormally .The ICM will mark this request as completed with error.”"&lt;br /&gt;&lt;br /&gt;How to navigate :&lt;br /&gt;=-=-==-=-=-=-=-=-=-==&lt;br /&gt;Tried to Cancel a concurrent request. Used the “Cancel Request” button from the Administer &amp;gt; Concurrent &amp;gt; Manager form.&lt;br /&gt;&lt;br /&gt;Got the following message:&lt;br /&gt;&lt;br /&gt;Request xxxxxx can no longer be cancelled. The Concurrent Manager Process that was running this request has exited abnormally. The ICM will mark this request as completed with error.&lt;br /&gt;&lt;br /&gt;Solution&lt;br /&gt;======&lt;br /&gt;This can be safely done while managers are up and running with little care&lt;br /&gt;&lt;br /&gt;1) Backup fnd_concurrent_requests table&lt;br /&gt;&lt;br /&gt;2) SQL&amp;gt; UPDATE fnd_concurrent_requests&lt;br /&gt;SET phase_code = ‘C’, status_code = ‘X’&lt;br /&gt;WHERE Request_id=&amp;amp;request_id&lt;br /&gt;&lt;br /&gt;Here Request id is the request which we want to cancel….&lt;br /&gt;&lt;br /&gt;3) Commit&lt;br /&gt;&lt;br /&gt;------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;2. Oracle EBS r12 Diagnostic Tests.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;To execute a diagnostic test for,&lt;br /&gt;Log File Test&lt;br /&gt;DBC Parameter Test&lt;br /&gt;Class Path Test&lt;br /&gt;Java Run-Time Environment Version Test&lt;br /&gt;Java System Property Report test&lt;br /&gt;&lt;br /&gt;Go to 'system administrator' responsibility---&amp;gt;Under 'System Administration: Diagnostics'---&amp;gt;Click 'Diagnostic Test'--&amp;gt;Here run all tests under application "HTML Platform".&lt;br /&gt;&lt;br /&gt;In the Report output under 'View Reports' tab you can see the result of the above tests. For example it includes, what the current guest username is set to and if it is successfully authenticated (this is displayed in the value "Diagnostic Test Executed By" in the report output).&lt;br /&gt;-------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;3. what is the usage &amp;amp; Contents of .dbc file in 11i/R12&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;dbc is the database connect descriptor file that stores database connection information used by application tier to connect to the database.&lt;br /&gt;The file is found in $FND_TOP/secure directory also called as FND_SECURE.&lt;br /&gt;&lt;br /&gt;Location of .dbc file in 11i is: $FND_TOP/SECURE OR $FND_SECURE&lt;br /&gt;&lt;br /&gt;Location of .dbc file in R12 is: $INST_TOP/appl/fnd/12.0.0/secure&lt;br /&gt;&lt;br /&gt;If we interpret .dbc file it contains the following,&lt;br /&gt;&lt;br /&gt;GUEST_USER_PWD – Guest username &amp;amp; password&lt;br /&gt;APPL_SERVER_ID – Used to Identify the Databse by Server ID, this ID is also stored in SERVER_ID column of FND_NODES table.&lt;br /&gt;GWYUID – APPLSYSPUB user name and password&lt;br /&gt;DBhostname - DB server name&lt;br /&gt;dbport - Database Listener Port number&lt;br /&gt;&lt;br /&gt;Other than these, the following are some other parameters with their default values, these are related to the Performance,&lt;br /&gt;&lt;br /&gt;FND_JDBC_BUFFER_DECAY_INTERVAL=300&lt;br /&gt;FND_JDBC_BUFFER_MIN=1&lt;br /&gt;FND_JDBC_BUFFER_MAX=5&lt;br /&gt;FND_JDBC_STMT_CACHE_FREE_MEM=TRUE&lt;br /&gt;FND_JDBC_STMT_CACHE_SIZE=200&lt;br /&gt;FND_MAX_JDBC_CONNECTIONS=500&lt;br /&gt;FND_JDBC_USABLE_CHECK=false&lt;br /&gt;FNDNAM=APPS&lt;br /&gt;FND_JDBC_PLSQL_RESET=false&lt;br /&gt;FND_JDBC_CONTEXT_CHECK=true&lt;br /&gt;FND_JDBC_BUFFER_DECAY_SIZE=5&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;4. How to drop/delete an application user&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;We can only deactivate or end-date the application user in Oracle EBS using the application front end. While we cannot delete an application user, but if you try to delete it from the database then it might crash the system and more over it is not supported by oracle.&lt;br /&gt;&lt;br /&gt;To deactivate or end-date the application user you can use any one of the following methods,&lt;br /&gt;&lt;br /&gt;Method I:&lt;br /&gt;—————&lt;br /&gt;Login to Oracle Applications – Goto System Administrator responsibility – Under 'Security' – User – Define – Search user name – then you can give end date in the Effectives Date To column.&lt;br /&gt;&lt;br /&gt;Method II:&lt;br /&gt;=======&lt;br /&gt;&lt;br /&gt;It's always recommended to use the above method to end-date/deactivate application user.&lt;br /&gt;Even though the following method is not supported by oracle support, End-dating the user from backend database is also possible with the following steps, This is also mentioned in Note 1039608.6&lt;br /&gt;&lt;br /&gt;Login as 'APPS' database user. Then take a backup of fnd_user table just in case if any issue comes then you can restore this table instead of the whole database restore.&lt;br /&gt;&lt;br /&gt;SQL&amp;gt;CREATE TABLE BKUP_FND_USER AS SELECT * FROM FND_USER;&lt;br /&gt;&lt;br /&gt;SQL&amp;gt;update fnd_user set end_date='27-JUL-2011' where user_name like ‘%&lt;username&gt;%’;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;5. How to know the Oracle Ebusiness Suite 11i / r12 application URL?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;select home_url from apps.icx_parameters;&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;grep -i login $APPL_TOP/admin/Context_name.xml&lt;br /&gt;&lt;br /&gt;----------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;6. fnd_install_processes &amp;amp; ad_deferred_jobs tables&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;When a patch is applied using adpatch it will ask number of workers. These workers are used to run some task like executing some perl scripts, running sql scripts, etc.&lt;br /&gt;&lt;br /&gt;If u check in the patch log file before assigning any job to workers the two tables fnd_install_processes and ad_deferred_jobs are created.&lt;br /&gt;After the job is finished the tables are dropped automatically. The following is the purpose of these tables,&lt;br /&gt;&lt;br /&gt;fnd_install_processes – This table is used to store the information about the job given to the worker. It will insert a row for each worker when it assigned a job.&lt;br /&gt;&lt;br /&gt;ad_deferred_jobs – this table is used to store the information about the deferred jobs (jobs failed to run).&lt;br /&gt;&lt;br /&gt;---------------------------------------------&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;7. Steps to manually stage r12 software &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;make a directory stage&lt;br /&gt;in that (mkdir stage)&lt;br /&gt;&lt;br /&gt;copy the start cd (mkdir startCD) -&amp;gt; startCD&lt;br /&gt;copy the Tools-Disk1(mkdir oraiAS) -&amp;gt;oraiAS&lt;br /&gt;copy the RDBMS Disk1 (mkdir oraDB) -&amp;gt; oraDB&lt;br /&gt;copy the Databases disk1,disk2,disk3,disk4 (mkdir oraAppDB) -&amp;gt;oraAppDB&lt;br /&gt;copy the APPL_TOP dis1 and 2 to (mkdir oraApps) -&amp;gt; oraApps&lt;br /&gt;&lt;br /&gt;The automatic staging command is,&lt;br /&gt;&lt;br /&gt;perl d:\mnt\cdrom\Disk1\rapidwiz\adautostg.pl&lt;br /&gt;The stage script message informs you that you may either stage all the Rapid Installcomponents, or selected components only.&lt;br /&gt;--------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;8. Oracle Applications Current Patchsets Comparison Utility (Script to Analyze) Patchsets.sh &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The program (Patchsets.sh) compares the currently installed patchsets and family packs to the most recently available ones generated by Oracle Development.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;NOTE: The patchsets.sh program is frequently updated by the Oracle development team with the latest patchsets data in it.&lt;br /&gt;So, this means that you need to get the latest version to get an up-to-date report.&lt;br /&gt;&lt;br /&gt;*Download the latest Patchsets.sh script from: ftp://ftp.oracle.com/support/outgoing/PATCHSET_COMPARE_TOOL/patchsets.sh&lt;br /&gt;*Also refer to metalink note ID 139684.1 for latest updates and how to run this program, the steps to run this program is compiled in short form.&lt;br /&gt;&lt;br /&gt;This program utilizes direct database connectivity or the applptch.txt file for 10.7-11.0. For 11i and R12, it utilizes a combination of tables such as AD_BUGS and AD_APPLIED_PATCHES to create the installed patch list. If the 11i release does not use these AD tables (11.5.4 or lower and have not applied 11i.AD.E or higher) it still supports using applptch.txt for 11i.&lt;br /&gt;&lt;br /&gt;Setup Requirements:&lt;br /&gt;Must have connectivity to EBS database via sql*net with $TWO_TASK set&lt;br /&gt;Source $APPL_TOP/APPSxx.env file or just setup database env such as ORACLE_HOME and TWO_TASK&lt;br /&gt;&lt;br /&gt;Running the Patchsets Comparison Tool:&lt;br /&gt;&lt;br /&gt;•11i - $ . $APPL_TOP/APPSORA.env&lt;br /&gt;•R12 - $ . $APPL_TOP/APPS{sid}_{machine}.env&lt;br /&gt;Note: As long as you can connect with sqlplus and $TWO_TASK, the script should have the access it needs.&lt;br /&gt;&lt;br /&gt;Usage: $ patchsets.sh [connect=11i_login/pwapplptch=/path/applptch.txt] [-h] [silent=y] default is n, [htmlout=file]&lt;br /&gt;&lt;br /&gt;Example Help:&lt;br /&gt;$ patchsets.sh -h&lt;br /&gt;&lt;br /&gt;Example Html Output in Silent Mode:&lt;br /&gt;$ ./patchsets.sh applptch=/applptch_11i.txt htmlout=Report.html silent=y&lt;br /&gt;&lt;br /&gt;$ ./patchsets.sh connect=apps/apps_password_here htmlout=xxReport.html&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Columns in The Output of script:&lt;br /&gt;Baseline Version: This is the baseline release version that come with EBS release&lt;br /&gt;Running Version: This is The Current High Level Code running on instance..or currrent patch level&lt;br /&gt;Latest AvailableStatus: THis Is the Latest Patches Available from The ORACLE for that module…&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Platform Specific Issues:&lt;br /&gt;TO RUN UNDER NT with MKS:&lt;br /&gt;--&amp;gt; Get to the drive where the appl_top is.&lt;br /&gt;C:&amp;gt; D:&lt;br /&gt;D:\&amp;gt;&lt;br /&gt;Make a tmp directory on that drives root.&lt;br /&gt;D:&amp;gt; mkdir tmp (this is where the patchset lists get created)&lt;br /&gt;&lt;br /&gt;--&amp;gt; cd to the APPL_TOP path and then execute the envshell to setup the env variables.&lt;br /&gt;D:\&amp;gt; cd D:\apps\visappl&lt;br /&gt;D:\apps\visappl&amp;gt; envshell&lt;br /&gt;A new window spawns with the correct env settings, use it for next step&lt;br /&gt;&lt;br /&gt;--&amp;gt;Start the MKS SHELL,&lt;br /&gt;D:\apps\visappl&amp;gt; sh&lt;br /&gt;$&lt;br /&gt;&lt;br /&gt;--&amp;gt; Run the patchsets program from the APPL_TOP/admin/ directory&lt;br /&gt;$ cd /admin/VIS&lt;br /&gt;$ ./patchsets.sh applptch=applptch.txt&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;NOTE: Download the Patchsets.sh script from: ftp://ftp.oracle.com/support/outgoing/PATCHSET_COMPARE_TOOL/patchsets.sh&lt;br /&gt;&lt;br /&gt;NOTE: Also you can get this script from metalink note : Oracle Applications Current Patchset Comparison Utility – patchsets.sh [ID 139684.1]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-2701842491009021537?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/2701842491009021537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/2701842491009021537'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2011/09/oracle-ebs-11i-r12-troubleshooting.html' title='Oracle EBS r12 troubleshooting &amp; useful notes'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-322713324970097546</id><published>2011-08-15T23:05:00.000-07:00</published><updated>2011-08-15T23:44:25.699-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>Patch Application Assistant PAA admsi.pl</title><content type='html'>PAA (Patch Application Assistant) admsi.pl is tool/Perl script to generate customized installation instructions for a patch in Oracle Applications R12 that helps user to track and perform manual steps during patching.&lt;br /&gt;&lt;br /&gt;1. admsi.pl is under $AD_TOP/bin&lt;br /&gt;2. You can run admsi.pl (Patch Application Assistant) in two mode&lt;br /&gt;i) GUI (Graphical User Interface)&lt;br /&gt;ii) CLI (Command Line Interface)&lt;br /&gt;3. Once you complete manual steps as instructed in PAA report, you can record that step as completed.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How to Run PAA (Patch Application Assistant) in R12&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. Source environment file i.e. $ORACLE_R12_BASE/apps/apps_st/appl/APPS[SID]_[hostname].env&lt;br /&gt;&lt;br /&gt;2. Run PAA using admsi.pl in either CLI or GUI&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2.1 CLI mode&lt;br /&gt;&lt;/strong&gt;&lt;span style="color:#3333ff;"&gt;perl admsi.pl -patch_top=[patch-top-directory]-appspass=[apps-password]&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;For example to generate PAA report for 12.0.6 patch (6728000) run it as&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;perl $AD_TOP/bin/admsi.pl -patch_top=/stage/oracle/patches/r12/6728000 -appspass=apps &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Gathering Information..&lt;br /&gt;Logfile for this session is located at admsi.log&lt;br /&gt;Generating installation instructions for patch 6728000..&lt;br /&gt;Updating database….&lt;br /&gt;install_6728000.html generated successfully&lt;br /&gt;install_6728000.txt generated successfully &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;Now view report (text or html format) containing manual steps for 12.0.6&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2.2 GUI&lt;br /&gt;&lt;/strong&gt;Invoke PAA in GUI by running admsi.pl as shown below&lt;br /&gt;&lt;br /&gt;i. Source environment file&lt;br /&gt;ii. Then run the command 'admsi.pl' without any arguments&lt;br /&gt;iii. Next step is to select from one of three options, I selected option 1 i.e. to find instance specific instructions for 12.0.6 patch (6728000), then complete the wizard steps by selecting appropriate values and the location of the patch folder.&lt;br /&gt;iv. Once you get list of manual steps, follow instructions in report&lt;br /&gt;v. Apply apps patches using AUTOPATCH utility (adpatch)&lt;br /&gt;&lt;br /&gt;For any further assistance or doubts please don't hesitate to email me at &lt;a href="mailto:samiora@gmail.com"&gt;samiora@gmail.com&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-322713324970097546?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/322713324970097546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/322713324970097546'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2011/08/patching-manually-patch-application.html' title='Patch Application Assistant PAA admsi.pl'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-8001153260161865427</id><published>2011-07-26T22:05:00.000-07:00</published><updated>2011-07-26T22:38:46.043-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>Oracle R12 &amp; 11i Patchsets Comparison Utility</title><content type='html'>&lt;strong&gt;Oracle Applications Current Patchsets Comparison Utility (Script to Analyze) Patchsets.sh&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The program (Patchsets.sh) compares the currently installed patchsets and family packs to the most recently available ones generated by Oracle Development.&lt;br /&gt;&lt;br /&gt;NOTE: The patchsets.sh program is frequently updated by the Oracle development team with the latest patchsets data in it. So, this means that you need to get the latest version to get an up-to-date report.&lt;br /&gt;&lt;br /&gt;*Download the latest Patchsets.sh script from:&lt;br /&gt;&lt;br /&gt;&lt;a href="ftp://ftp.oracle.com/support/outgoing/PATCHSET_COMPARE_TOOL/patchsets.sh"&gt;ftp://ftp.oracle.com/support/outgoing/PATCHSET_COMPARE_TOOL/patchsets.sh&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;--&amp;gt; Also refer to metalink note ID 139684.1 for latest updates and how to run this program, the steps to run this program is compiled in short form.&lt;br /&gt;&lt;br /&gt;This program utilizes direct database connectivity or the applptch.txt file for 10.7-11.0. For 11i and R12, it utilizes a combination of tables such as AD_BUGS and AD_APPLIED_PATCHES to create the installed patch list. If the 11i release does not use these AD tables (11.5.4 or lower and have not applied 11i.AD.E or higher) it still supports using applptch.txt for 11i.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. Setup Requirements: &lt;/strong&gt;&lt;br /&gt;Must have connectivity to EBS database via sql*net with $TWO_TASK set&lt;br /&gt;Source $APPL_TOP/APPSxx.env file or just setup database env such as ORACLE_HOME and TWO_TASK&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. Running the Patchsets Comparison Tool:&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;•11i - $ . $APPL_TOP/APPSORA.env&lt;br /&gt;•R12 - $ . $APPL_TOP/APPS{sid}_{machine}.env&lt;br /&gt;Note: As long as you can connect with sqlplus and $TWO_TASK, the script should have the access it needs.&lt;br /&gt;&lt;br /&gt;Usage: &lt;span style="color:#cc0000;"&gt;$ patchsets.sh [connect=11i_login/pwapplptch=/path/applptch.txt] [-h] [silent=y] default is n, [htmlout=file]&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Example Help:&lt;br /&gt;$ &lt;span style="color:#000099;"&gt;patchsets.sh -h&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Example Html Output in Silent Mode:&lt;br /&gt;$ &lt;span style="color:#000099;"&gt;./patchsets.sh applptch=/applptch_11i.txt htmlout=Report.html silent=y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ &lt;span style="color:#000099;"&gt;./patchsets.sh connect=apps/apps_password_here htmlout=xxReport.html&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;3. Columns in The Output of script:&lt;br /&gt;&lt;/strong&gt;Baseline Version: This is the baseline release version that come with EBS release&lt;br /&gt;Running Version: This is The Current High Level Code running on instance..or currrent patch level&lt;br /&gt;Latest AvailableStatus: THis Is the Latest Patches Available from The ORACLE for that module…&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4. Platform Specific Issues:&lt;br /&gt;&lt;/strong&gt;TO RUN UNDER NT with MKS:&lt;br /&gt;--&amp;gt; Get to the drive where the appl_top is.&lt;br /&gt;F:\&amp;gt;&lt;br /&gt;Make a tmp directory on that drives root.&lt;br /&gt;F:&amp;gt;mkdir tmp (this is where the patchset lists get created)&lt;br /&gt;&lt;br /&gt;--&amp;gt; cd to the APPL_TOP path and then execute the envshell to setup the env variables.&lt;br /&gt;F:\&amp;gt; cd F:\oracle\apps\apps_st\appl&lt;br /&gt;F:\oracle\apps\apps_st\appl&amp;gt; dhrms_devapps.cmd&lt;br /&gt;A new window spawns with the correct env settings, use it for next step&lt;br /&gt;&lt;br /&gt;--&amp;gt; Run the patchsets program from F:\ where the tmp directory was created in earlier step&lt;br /&gt;F:\&amp;gt; patchsets.sh connect=apps/apps_password_here htmlout=xxReport.html&lt;br /&gt;(or)&lt;br /&gt;F:\&amp;gt; patchsets.sh applptch=applptch_11i.txt htmlout=Report.html silent=y&lt;br /&gt;&lt;br /&gt;NOTE: Download the latest Patchsets.sh script from: &lt;a href="ftp://ftp.oracle.com/support/outgoing/PATCHSET_COMPARE_TOOL/patchsets.sh"&gt;ftp://ftp.oracle.com/support/outgoing/PATCHSET_COMPARE_TOOL/patchsets.sh&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Reference: Also you can get this script from metalink note : Oracle Applications Current Patchset Comparison Utility – patchsets.sh [ID 139684.1]&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;For any help on running this script or to analyze the output result, please don't hesitate to email me at &lt;/span&gt;&lt;a href="mailto:samiora@gmail.com"&gt;&lt;span style="color:#3333ff;"&gt;samiora@gmail.com&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-8001153260161865427?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/8001153260161865427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/8001153260161865427'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2011/07/r12-11i-patchsets-comparison-utility.html' title='Oracle R12 &amp; 11i Patchsets Comparison Utility'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-6802050108433613436</id><published>2011-06-11T11:19:00.001-07:00</published><updated>2011-06-11T11:25:22.553-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle General'/><title type='text'>SQL Injection via CTXSYS.DRILOAD in 8i and 9i</title><content type='html'>&lt;strong&gt;SQL Injection via CTXSYS.DRILOAD in Oracle 8i and 9i databases&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;Systems Affected:&lt;/span&gt; are Oracle 8.i and Oracle9i on all platforms&lt;br /&gt;&lt;span style="color:#000099;"&gt;Severity&lt;/span&gt;: High Risk&lt;br /&gt;&lt;span style="color:#000099;"&gt;Category:&lt;/span&gt; SQL Injection&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;Details:&lt;/span&gt; Any valid database user can become DBA (if CTXSYS is installed) by executing the package DRILOAD by submitting a specially crafted parameter.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;Oracle 10g and 11g are NOT affected.&lt;br /&gt;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;Workarounds:&lt;/span&gt; Drop user CTXSYS (if not needed) or 'revoke public grant from CTXSYS.DRILOAD'.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;Example:&lt;/span&gt; sqlplus scott/tiger@tnsname (or every other unprivileged user)&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; exec ctxsys.driload.validate_stmt('grant dba to scott');&lt;br /&gt;&lt;br /&gt;BEGIN ctxsys.driload.validate_stmt('grant dba to scott'); END;&lt;br /&gt;*&lt;br /&gt;ERROR at line 1:&lt;br /&gt;ORA-06510: PL/SQL: unhandled user-defined exception&lt;br /&gt;ORA-06512: at "CTXSYS.DRILOAD", line 42&lt;br /&gt;ORA-01003: no statement parsed&lt;br /&gt;ORA-06512: at line 1&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;The above ORA- error is displayed but actually the dba role got granted to scott user.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;Fix:&lt;/span&gt; On 8i and 9i database there is a patch available to fix this security vulnarability, Please see MetaLink document ID 281189.1 for the patch download procedures and for the Patch Availability Matrix for this Oracle Security Alert.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-6802050108433613436?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/6802050108433613436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=6802050108433613436' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/6802050108433613436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/6802050108433613436'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2011/06/sql-injection-via-ctxsysdriload-in-8i.html' title='SQL Injection via CTXSYS.DRILOAD in 8i and 9i'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-1100946037955551546</id><published>2011-05-03T22:02:00.000-07:00</published><updated>2011-07-27T00:00:30.868-07:00</updated><title type='text'>Installing Oracle workflow builder on windows 7</title><content type='html'>Installing Oracle workflow builder on windows 7 /&lt;br /&gt;Installing Oracle database client 10g 11g on windows 7&lt;br /&gt;&lt;br /&gt;We just upgraded all clients to windows 7 and faced few challenges, one of them was to install few backward compatible oracle client softwares on windows 7.&lt;br /&gt;&lt;br /&gt;After the upgrade to windows 7, Attempting to install Oracle Workflow Builder 2.6.3 and oracle client 11gR2/10gR2 on a Windows 7 Client gives compatibility error.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;SOLUTION 1:&lt;/strong&gt;&lt;br /&gt;To configure the compatibility mode for an application, just locate the installation directory and right click on the .exe, selecting Properties from the menu and change the compatibility mode to 'Windows XP service pack 3'. This is applicable for both Workflow builder executables and also for oracle 11g/10g clients.&lt;br /&gt;&lt;br /&gt;1. Navigate to the WF Builder installer (setup.exe)&lt;br /&gt;&lt;br /&gt;2. Right-Click on the setup.exe then go to Properties.&lt;br /&gt;&lt;br /&gt;3. Check Compatibility Mode and Select Windows XP (Service Pack 3).&lt;br /&gt;&lt;br /&gt;4. Now restart the Installer for the Workflow Builder. After installation if the builder doesn't start then follow steps 1 to 3 for WFBLDR.EXE file.&lt;br /&gt;&lt;br /&gt;Note: This same behaviour is applicable on Vista.&lt;br /&gt;&lt;br /&gt;For screenshots with similar solution follow,&lt;br /&gt;http://www.howtogeek.com/howto/windows-vista/using-windows-vista-compatibility-mode/&lt;br /&gt;http://www.howtogeek.com/howto/windows-7/using-windows-vista-compatibility-mode/&lt;br /&gt;&lt;br /&gt;==================&lt;br /&gt;ANOTHER GOOD WORK AROUND:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;SOLUTION 2: &lt;/strong&gt;&lt;br /&gt;Shortly after initiating installation of Oracle Client 11g (11.1.0.6.0) installation stopped on prerequisite checks with error:&lt;br /&gt;&lt;br /&gt;Checking operating system requirements ...&lt;br /&gt;Expected result: One of 5.0,5.1,5.2,6.0&lt;br /&gt;Actual Result: 6.1&lt;br /&gt;Check complete. The overall result of this check is: Failed &amp;lt;&amp;lt;&amp;lt;&amp;lt; Problem: Oracle Database 11g is not certified on the current operating system. Recommendation: Make sure you are installing the software on the correct platform. &lt;strong&gt;To workaround this problem edit refhost.xml file adding entry for Windows 7.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Location of refhost.xml file on media is,&lt;br /&gt;D:\win32_11gR1_client\client\stage\prereq\client\refhost.xml&lt;br /&gt;&lt;br /&gt;For windows 7 OS, add the following to the end of the refhost.xml file content:&lt;br /&gt;&lt;br /&gt;&amp;lt;CERTIFIED_SYSTEMS&amp;gt;&lt;br /&gt;&amp;lt;!--Microsoft Windows 7--&amp;gt;&lt;br /&gt;&amp;lt;OPERATING_SYSTEM&amp;gt;&lt;br /&gt;&amp;lt;VERSION VALUE="6.1"&amp;gt;&lt;br /&gt;&amp;lt;/OPERATING_SYSTEM&amp;gt;&lt;br /&gt;&amp;lt;/CERTIFIED_SYSTEMS&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;With new refhost.xml file all checks will pass and the installation will complete successfully.&lt;br /&gt;&lt;br /&gt;For any futher help please don't hesitate to contact me on samiora@gmail.com or call me at 0097433164959.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-1100946037955551546?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/1100946037955551546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/1100946037955551546'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2011/05/installing-oracle-workflow-builder-on.html' title='Installing Oracle workflow builder on windows 7'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-3376944222424106191</id><published>2011-04-27T00:06:00.000-07:00</published><updated>2011-04-27T03:57:00.244-07:00</updated><title type='text'>Download Oracle database 11g R2 11.2.0.2</title><content type='html'>I have got a task to install 11.2.0.2 on Redhat Linux x86_64bit and upgrade db from 10.2.0.3 for one of the applications, so the following is the information regarding the software. &lt;br /&gt;While it's worth to note that, if you are at 11.2.0.1 then moving to 11.2.0.2  is not a patchset installation but a full database upgrade.&lt;br /&gt;&lt;br /&gt;To download and install 11gR2, get full Oracle database 11gR2 11.2.0.2 software from patch 10098816&lt;br /&gt;&lt;br /&gt;Note that, Starting with the 11.2.0.2 patch set, Oracle Database patch sets are full installations of the Oracle Database software. This means that you do not need to install Oracle Database 11g Release 2 (11.2.0.1) before installing Oracle Database 11g Release 2 (11.2.0.2).&lt;br /&gt;&lt;br /&gt;To Download 11.2.0.2 rdbms software go to My Oracle support: patch 10098816&lt;br /&gt;&lt;br /&gt;             https://updates.oracle.com/download/10098816.html&lt;br /&gt;&lt;br /&gt;Please select your platform before downloading (Click on "Platform or Language" drop down menu). &lt;br /&gt;From here you can download total 7 disks and the following is the description for each one,&lt;br /&gt;&lt;br /&gt;Note that Oracle Database (includes Oracle Database and Oracle RAC)&lt;br /&gt;You must download both the following zip files to install Oracle Database.&lt;br /&gt; p10098816_112020_platform_1of7.zip &amp; p10098816_112020_platform_2of7.zip&lt;br /&gt; &lt;br /&gt;Oracle Grid Infrastructure (includes Oracle ASM, Oracle Clusterware, and Oracle Restart)&lt;br /&gt; p10098816_112020_platform_3of7.zip&lt;br /&gt; &lt;br /&gt;Oracle Database Client&lt;br /&gt; p10098816_112020_platform_4of7.zip&lt;br /&gt; &lt;br /&gt;Oracle Gateways&lt;br /&gt; p10098816_112020_platform_5of7.zip&lt;br /&gt; &lt;br /&gt;Oracle Examples&lt;br /&gt; p10098816_112020_platform_6of7.zip&lt;br /&gt; &lt;br /&gt;Deinstall&lt;br /&gt; p10098816_112020_platform_7of7.zip&lt;br /&gt;&lt;br /&gt;For help in installation and upgrades please don't hesitate to contact me at samiora@gmail.com or call me on my cell 0097433164959.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-3376944222424106191?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/3376944222424106191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=3376944222424106191' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/3376944222424106191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/3376944222424106191'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2011/04/oracle-database-11g-r2-11202-from-patch.html' title='Download Oracle database 11g R2 11.2.0.2'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-2252891418218598444</id><published>2011-03-31T01:15:00.000-07:00</published><updated>2011-03-31T02:49:25.670-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Identity and Access Management IAM'/><title type='text'>Oracle IAM the best Identity Management Product</title><content type='html'>&lt;strong&gt;Comparision of Identity Management Tools from ORACLE, IBM, CA, MICROSOFT and QUEST&lt;/strong&gt; &lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;p&gt;After taking Proof of Concept POC from various vendors for their Identity and Access management IAM product the following is the comparision analysis report,&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;What is Identity Management? &lt;/strong&gt;&lt;br&gt;Securing your IT assets from within &lt;br&gt;•Management of digital user identities through their complete lifecycle Employee hire to promotion to departure &lt;br&gt;•Securing access to applications and information &lt;br&gt;•Authentication: proving you are who you say you are &lt;br&gt;•Authorization: what you have access to, when, where &lt;br&gt;•Profile: attributes about you &lt;br&gt;&lt;br&gt;&lt;strong&gt;How Can IAM Suite Help any Organization? &lt;/strong&gt;&lt;br&gt;Establish Enterprise Identity, Roles and Single Sign On &lt;br&gt;•Enforce strong password policies via synchronization or single sign-on (SSO) &lt;br&gt;•Consolidate multiple, complex identity environments to a single enterprise identity source &lt;br&gt;•Automate linkage of employee records with user accounts &lt;br&gt;•Establish enterprise roles for automation, compliance and business continuity &lt;br&gt;•Eliminate rogue and orphaned accounts •Automate detection of fraudulent activities based on policies &lt;br&gt;•Implement strong authentication and risk based authorization for critical apps &lt;br&gt;•Enforce minimal access rights based on roles, attributes, and requests &lt;br&gt;•Implement automated attestation for entitlements, roles, policies, workflows, etc. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;a href="http://3.bp.blogspot.com/-aVctA1LaYtY/TZRL2eg_A7I/AAAAAAAAAGI/2oniBr_JF60/s1600/0.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5590176436750058418" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 310px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/-aVctA1LaYtY/TZRL2eg_A7I/AAAAAAAAAGI/2oniBr_JF60/s400/0.JPG" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/-IjNNvkXeXM8/TZRLzUYZ6tI/AAAAAAAAAGA/NbUNrr3aSZw/s1600/1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5590176382490110674" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 292px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/-IjNNvkXeXM8/TZRLzUYZ6tI/AAAAAAAAAGA/NbUNrr3aSZw/s400/1.JPG" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/-v82nRCRy5R4/TZRLu1_6bBI/AAAAAAAAAF4/K6wqhlO5rgU/s1600/2.JPG"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/-pzwrQdHMSsE/TZRLrQp2HaI/AAAAAAAAAFw/EFrN5Ir-sb0/s1600/2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5590176244050566562" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 289px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/-pzwrQdHMSsE/TZRLrQp2HaI/AAAAAAAAAFw/EFrN5Ir-sb0/s400/2.JPG" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/-HJM0mL33ea4/TZRLofRcSLI/AAAAAAAAAFo/z5QxJuJtzpA/s1600/3.JPG"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/-wDKWs20Fqvc/TZRLlNSXfFI/AAAAAAAAAFg/223NgRNpeaA/s1600/3.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5590176140067568722" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 287px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/-wDKWs20Fqvc/TZRLlNSXfFI/AAAAAAAAAFg/223NgRNpeaA/s400/3.JPG" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/-eOzq1Uqnfkw/TZRLhD4_8RI/AAAAAAAAAFY/lFfh0zCTpZE/s1600/4.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5590176068825772306" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 291px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/-eOzq1Uqnfkw/TZRLhD4_8RI/AAAAAAAAAFY/lFfh0zCTpZE/s400/4.JPG" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/-zJVDgNbyHXM/TZRLd2CujnI/AAAAAAAAAFQ/hagIQfjzY9M/s1600/5.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5590176013568872050" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 290px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/-zJVDgNbyHXM/TZRLd2CujnI/AAAAAAAAAFQ/hagIQfjzY9M/s400/5.JPG" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/-0qqoImPQO6I/TZRLaN72KdI/AAAAAAAAAFI/3mm6JiwNGig/s1600/66.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5590175951262984658" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 300px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/-0qqoImPQO6I/TZRLaN72KdI/AAAAAAAAAFI/3mm6JiwNGig/s400/66.JPG" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/-Lm0Efp1C-cw/TZRLWKLhRrI/AAAAAAAAAFA/yhi8heM-Ths/s1600/6.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5590175881535506098" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 288px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/-Lm0Efp1C-cw/TZRLWKLhRrI/AAAAAAAAAFA/yhi8heM-Ths/s400/6.JPG" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/-SaoYzDA8S3M/TZRLSigbLpI/AAAAAAAAAE4/lZXKvXlLP6w/s1600/7.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5590175819346161298" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 302px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/-SaoYzDA8S3M/TZRLSigbLpI/AAAAAAAAAE4/lZXKvXlLP6w/s400/7.JPG" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/-JJ4OacVpC5A/TZRLPM9gLUI/AAAAAAAAAEw/N5bfCQizfBU/s1600/8.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5590175762022935874" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 285px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/-JJ4OacVpC5A/TZRLPM9gLUI/AAAAAAAAAEw/N5bfCQizfBU/s400/8.JPG" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/-6gvjH0QwcnI/TZRLKoVGPYI/AAAAAAAAAEo/qHD9R1nCoe4/s1600/9.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5590175683470310786" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 276px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/-6gvjH0QwcnI/TZRLKoVGPYI/AAAAAAAAAEo/qHD9R1nCoe4/s400/9.JPG" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/-4HorlsnxeNo/TZRLFgVCRHI/AAAAAAAAAEg/Pd-6yWqGtIs/s1600/10.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5590175595423220850" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 300px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/-4HorlsnxeNo/TZRLFgVCRHI/AAAAAAAAAEg/Pd-6yWqGtIs/s400/10.JPG" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-2252891418218598444?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/2252891418218598444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=2252891418218598444' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/2252891418218598444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/2252891418218598444'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2011/03/comparision-of-various-identity-and.html' title='Oracle IAM the best Identity Management Product'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-aVctA1LaYtY/TZRL2eg_A7I/AAAAAAAAAGI/2oniBr_JF60/s72-c/0.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-4339913397547715116</id><published>2011-02-16T22:01:00.000-08:00</published><updated>2011-02-17T01:02:18.282-08:00</updated><title type='text'>Log file location for Oracle EBS R12</title><content type='html'>- Autoconfig log file:&lt;br /&gt;Apps:&lt;br /&gt;$INST_TOP/apps/$CONTEXT_NAME/admin/log/$MMDDHHMM/adconfig.log&lt;br /&gt;&lt;br /&gt;Db:&lt;br /&gt;$ORACLE_HOME/appsutil/log/$CONTEXT_NAME//adconfig.log $ORACLE_HOME/appsutil/log/$CONTEXT_NAME//NetServiceHandler.log&lt;br /&gt;&lt;br /&gt;- Startup/Shutdown Log files:&lt;br /&gt;$INST_TOP/logs/appl/admin/log&lt;br /&gt;&lt;br /&gt;- Apache, OC4J and OPMN:&lt;br /&gt;$LOG_HOME/ora/10.1.3/Apache $LOG_HOME/ora/10.1.3/j2ee $LOG_HOME/ora/10.1.3/opmn&lt;br /&gt;&lt;br /&gt;- Patch log:&lt;br /&gt;$APPL_TOP/admin/$SID/log/&lt;br /&gt;&lt;br /&gt;- Concurrent log:&lt;br /&gt;$INST_TOP/apps/$CONTEXT_NAME/logs/appl/conc/log&lt;br /&gt;&lt;br /&gt;- Clone log:&lt;br /&gt;Preclone log files in source instance&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Apps:&lt;br /&gt;$INST_TOP/apps/$CONTEXT_NAME/admin/log/ (StageAppsTier_MMDDHHMM.log)&lt;br /&gt;&lt;br /&gt;Db:&lt;br /&gt;$ORACLE_HOME/appsutil/log/$CONTEXT_NAME/(StageDBTier_MMDDHHMM.log)&lt;br /&gt;&lt;br /&gt;Clone log files in target instance&lt;br /&gt;Apps :&lt;br /&gt;$INST_TOP/apps/$CONTEXT_NAME/admin/log/ApplyAppsTier_&lt;time&gt;.log&lt;br /&gt;&lt;br /&gt;Db:&lt;br /&gt;$ORACLE_HOME/appsutil/log/$CONTEXT_NAME/ApplyDBTier_&lt;time&gt;.log&lt;br /&gt;&lt;br /&gt;- Alert Log File:&lt;br /&gt;$ORACLE_HOME/admin/$CONTEXT_NAME/bdump/alert_$SID.log&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;How to find location of Install, Autoconfig, Patching , Clone and other logs in R12 [ID 804603.1]&lt;br /&gt;Oracle Application Server Diagnostic Tools and Log Files in Applications Release 12 [ID 454178.1]&lt;br /&gt;Oracle Applications System Administrator’s Guide&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-4339913397547715116?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/4339913397547715116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=4339913397547715116' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/4339913397547715116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/4339913397547715116'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2011/02/log-file-location-for-oracle-ebs-r12.html' title='Log file location for Oracle EBS R12'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-3447077018968818232</id><published>2011-01-22T22:04:00.000-08:00</published><updated>2011-01-30T21:27:28.713-08:00</updated><title type='text'>my 2011 projects</title><content type='html'>Wish you all a happy new year 2011.&lt;br /&gt;&lt;br /&gt;For sure I will be very busy this year as I have the following projects to implement in my company in coordination with the team and the consulting companies,&lt;br /&gt;&lt;br /&gt;1. Oracle Identity and Access Management IAM&lt;br /&gt;2. iRecruitment in Oracle R12.1.1 ebs HRMS&lt;br /&gt;3. iLearning in Oracle R12.1.1 ebs HRMS&lt;br /&gt;4. Completion of Disaster Recovery site preparation for all the business critical applications.&lt;br /&gt;5. Microsoft BizTalk Middle ware project.&lt;br /&gt;&lt;br /&gt;Among the above five major projects the most important and critical is the IAM for me as I have been appointed as a Project leader in this Oracle IAM Project. I will be posting from here on, work related to IAM tasks that I have done during the project implementation phases.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-3447077018968818232?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/3447077018968818232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/3447077018968818232'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2011/01/2011-projects.html' title='my 2011 projects'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-8973114227655728157</id><published>2010-12-06T01:07:00.000-08:00</published><updated>2010-12-06T01:15:55.429-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Dataguard'/><title type='text'>Views Pertinent to DataGuard Configurations</title><content type='html'>The following are the views that are pertinent to DataGuard Configurations that are categorised for logical and/or physical standby databases.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#3333ff;"&gt;*Views for LOGICAL DATABASE ONLY&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;DBA_LOGSTDBY_EVENTS&lt;br /&gt;Logical only&lt;br /&gt;Contains information about the activity of a logical standby database. It can be used to determine the cause of failures that occur when SQL Apply is applying redo to a logical standby database.&lt;br /&gt;&lt;br /&gt;DBA_LOGSTDBY_HISTORY&lt;br /&gt;Logical only&lt;br /&gt;Displays the history of switchovers and failovers for logical standby databases in a Data Guard configuration. It does this by showing the complete sequence of redo log streams processed or created on the local system, across all role transitions. (After a role transition, a new log stream is started and the log stream sequence number is incremented by the new primary database.)&lt;br /&gt;&lt;br /&gt;DBA_LOGSTDBY_LOG&lt;br /&gt;Logical only&lt;br /&gt;Shows the log files registered for logical standby databases.&lt;br /&gt;&lt;br /&gt;DBA_LOGSTDBY_NOT_UNIQUE&lt;br /&gt;Logical only&lt;br /&gt;Identifies tables that have no primary and no non-null unique indexes.&lt;br /&gt;&lt;br /&gt;DBA_LOGSTDBY_PARAMETERS&lt;br /&gt;Logical only&lt;br /&gt;Contains the list of parameters used by SQL Apply.&lt;br /&gt;&lt;br /&gt;DBA_LOGSTDBY_SKIP&lt;br /&gt;Logical only&lt;br /&gt;Lists the tables that will be skipped by SQL Apply.&lt;br /&gt;&lt;br /&gt;DBA_LOGSTDBY_SKIP_TRANSACTION&lt;br /&gt;Logical only&lt;br /&gt;Lists the skip settings chosen.&lt;br /&gt;&lt;br /&gt;DBA_LOGSTDBY_UNSUPPORTED&lt;br /&gt;Logical only&lt;br /&gt;Identifies the schemas and tables (and columns in those tables) that contain unsupported data types. Use this view when you are preparing to create a logical standby database.&lt;br /&gt;&lt;br /&gt;V$LOGSTDBY_PROCESS&lt;br /&gt;Logical only&lt;br /&gt;Provides dynamic information about what is happening with SQL Apply. This view is very helpful when you are diagnosing performance problems during SQL Apply on the logical standby database, and it can be helpful for other problems.&lt;br /&gt;&lt;br /&gt;V$LOGSTDBY_PROGRESS&lt;br /&gt;Logical only&lt;br /&gt;Displays the progress of SQL Apply on the logical standby database.&lt;br /&gt;&lt;br /&gt;V$LOGSTDBY_STATE&lt;br /&gt;Logical only&lt;br /&gt;Consolidates information from the V$LOGSTDBY_PROCESS and V$LOGSTDBY_STATS views about the running state of SQL Apply and the logical standby database.&lt;br /&gt;&lt;br /&gt;V$LOGSTDBY_STATS&lt;br /&gt;Logical only&lt;br /&gt;Displays LogMiner statistics, current state, and status information for a logical standby database during SQL Apply. If SQL Apply is not running, the values for the statistics are cleared.&lt;br /&gt;&lt;br /&gt;V$LOGSTDBY_TRANSACTION&lt;br /&gt;Logical only&lt;br /&gt;Displays information about all active transactions being processed by SQL Apply on the logical standby database.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#6633ff;"&gt;&lt;strong&gt;*Views for PHYSICAL DATABASE ONLY&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;V$MANAGED_STANDBY&lt;br /&gt;Physical only&lt;br /&gt;Displays current status information for Oracle database processes related to physical standby databases.&lt;br /&gt;Note: The information in this view does not persist across an instance shutdown.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#6633ff;"&gt;&lt;strong&gt;*Views for PRIMARY, PHYSICAL AND LOGICAL DATABASES&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;V$ARCHIVE_DEST&lt;br /&gt;Primary, physical, and logical&lt;br /&gt;Describes all of the destinations in the Data Guard configuration, including each destination’s current value, mode, and status.&lt;br /&gt;Note: The information in this view does not persist across an instance shutdown.&lt;br /&gt;&lt;br /&gt;V$ARCHIVE_DEST_STATUS&lt;br /&gt;Primary, physical, and logical&lt;br /&gt;Displays runtime and configuration information for the archived redo log destinations.&lt;br /&gt;Note: The information in this view does not persist across an instance shutdown.&lt;br /&gt;&lt;br /&gt;V$ARCHIVE_GAP&lt;br /&gt;Physical and logical&lt;br /&gt;Displays information to help you identify a gap in the archived redo log files.&lt;br /&gt;&lt;br /&gt;V$ARCHIVED_LOG&lt;br /&gt;Primary, physical, and logical&lt;br /&gt;Displays archive redo log information from the control file, including names of the archived redo log files.&lt;br /&gt;&lt;br /&gt;V$DATABASE&lt;br /&gt;Primary, physical, and logical&lt;br /&gt;Provides database information from the control file. Includes information about fast-start failover (available only with the Data Guard broker).&lt;br /&gt;&lt;br /&gt;V$DATABASE_INCARNATION&lt;br /&gt;Primary, physical, and logical&lt;br /&gt;Displays information about all database incarnations. Oracle Database creates a new incarnation whenever a database is opened with the RESETLOGS option. Records about the current and the previous incarnation are also contained in the V$DATABASE view.&lt;br /&gt;&lt;br /&gt;V$DATAFILE&lt;br /&gt;Primary, physical, and logical&lt;br /&gt;Provides datafile information from the control file.&lt;br /&gt;&lt;br /&gt;V$DATAGUARD_CONFIG&lt;br /&gt;Primary, physical, and logical&lt;br /&gt;Lists the unique database names defined with the DB_UNIQUE_NAME and LOG_ARCHIVE_CONFIG initialization parameters.&lt;br /&gt;&lt;br /&gt;V$DATAGUARD_STATS&lt;br /&gt;Primary, physical, and logical&lt;br /&gt;Displays how much redo data generated by the primary database is not yet available on the standby database, showing how much redo data could be lost if the primary database were to crash at the time you queried this view. You can query this view on any instance of a standby database in a Data Guard configuration. If you query this view on a primary database, then the column values are cleared.&lt;br /&gt;&lt;br /&gt;V$DATAGUARD_STATUS&lt;br /&gt;Primary, physical, and logical&lt;br /&gt;Displays and records events that would typically be triggered by any message to the alert log or server process trace files.&lt;br /&gt;&lt;br /&gt;V$LOG&lt;br /&gt;Primary, physical, and logical&lt;br /&gt;Contains log file information from the online redo log files.&lt;br /&gt;&lt;br /&gt;V$LOGFILE&lt;br /&gt;Primary, physical, and logical&lt;br /&gt;Contains information about the online redo log files and standby redo log files.&lt;br /&gt;&lt;br /&gt;V$LOG_HISTORY&lt;br /&gt;Primary, physical, and logical&lt;br /&gt;Contains log history information from the control file.&lt;br /&gt;&lt;br /&gt;V$STANDBY_LOG&lt;br /&gt;Physical and logical&lt;br /&gt;Contains log file information from the standby redo log files.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;References: Oracle® Data Guard Concepts and Administration 10g Release 2 (10.2)&lt;br /&gt;B14239-05&lt;/em&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;For any queries please don't hesitate to contact me on samiora@gmail.com or call me on 0097433164959.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-8973114227655728157?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/8973114227655728157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=8973114227655728157' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/8973114227655728157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/8973114227655728157'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2010/12/views-pertinent-to-dataguard.html' title='Views Pertinent to DataGuard Configurations'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-4629090384252287328</id><published>2010-11-22T23:07:00.000-08:00</published><updated>2010-11-22T23:17:18.720-08:00</updated><title type='text'>Upgrade Oracle Database 9i to 10g 10204</title><content type='html'>Upgraded JDEdwards oracle database from 9i to 10g using the standard database upgrade procedure,&lt;br /&gt;&lt;br /&gt;1. SRPSFTENT --&gt; Microsoft Windows 2003 Server Enterprise Edition SP2. 8GB RAM.&lt;br /&gt;&lt;br /&gt;2. On SRPSFTENT: Stopped and made OracleOraHome92HTTPServer &amp; &lt;br /&gt;OracleMTSRecoveryService services manual,&lt;br /&gt;most important stop JDE service 'JDE E812'.&lt;br /&gt;&lt;br /&gt;On SRPSFTDEP: Stopped OracleMTSRecoveryService service&lt;br /&gt;&lt;br /&gt;On SRPSFTWEB: Stopped Oracle-oc4jadminProcessManager&lt;br /&gt;&lt;br /&gt;3. Delete OracleOraHome92TNSListenerlistener_10g service through the add+remove services.exe tool.&lt;br /&gt;&lt;br /&gt;4. Exported Oracle Registry as backup to flash\jdedbupgraderough directory.&lt;br /&gt;&lt;br /&gt;5. Made startmode=manual for database in registry&lt;br /&gt;&lt;br /&gt;6. Start database and check invalid objects&lt;br /&gt;SQL&gt; select objecT_name,Object_type,owner from dba_objects where status='INVALID&lt;br /&gt;';&lt;br /&gt;&lt;br /&gt;OBJECT_NAME    OBJECT_TYPE        OWNER&lt;br /&gt;------------------ ------------------------------&lt;br /&gt;ODCIARGDESC   TYPE               SYS&lt;br /&gt;ODCICOLINFO   TYPE               SYS&lt;br /&gt;ODCICOST      TYPE               SYS&lt;br /&gt;ODCIINDEXINFO TYPE               SYS&lt;br /&gt;ODCIINDEXINFO TYPE               SYS&lt;br /&gt;CATALOG_TYP   TYPE               OE&lt;br /&gt;CATEGORY_TYP  TYPE               OE&lt;br /&gt;COMPOSITE_CATEGORY_TYP TYPE               OE&lt;br /&gt;LEAF_CATEGORY_TYP  TYPE               OE&lt;br /&gt;BSREPORT      PROCEDURE          TESTDTA&lt;br /&gt;PKG_MULTIRESULTSET   PACKAGE BODY       TESTDTA&lt;br /&gt;11 rows selected.&lt;br /&gt;&lt;br /&gt;7. Shutdown immediate;&lt;br /&gt;&lt;br /&gt;8. Before 10g install note the path parameter. &lt;br /&gt;C:\&gt;set path&lt;br /&gt;Path=E:\oracle\ora92\bin;C:\Program Files\Microsoft Visual Studio 8\VC\bin;E:\JD&lt;br /&gt;Edwards\E812\DDP\Verity\winx86\_nti40\bin;E:\oracle\ora92\jre\1.4.2\bin\client;E&lt;br /&gt;:\oracle\ora92\jre\1.4.2\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Fi&lt;br /&gt;les\Oracle\jre\1.1.8\bin;C:\Program Files\HP\NCU;C:\WINDOWS\system32;C:\WINDOWS;&lt;br /&gt;C:\WINDOWS\System32\Wbem;C:\Program Files\System Center Operations Manager 2007\&lt;br /&gt;PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH&lt;br /&gt;&lt;br /&gt;9. Take backup of Oracle inventory. Backup c:\program files\oracle folder which contains Inventory directory.&lt;br /&gt;&lt;br /&gt;10. Install Oracle 10g Release 2 in a new Oracle Home i.e, Install 10201+companion(select Oracle Database 10g Products 10.2.0.1+10204patchset in e:\oracle\ora10g&lt;br /&gt;&lt;br /&gt;11. environment variable check&lt;br /&gt;C:\&gt;set oracle&lt;br /&gt;ORACLE_HOME=e:\oracle\ora92&lt;br /&gt;&lt;br /&gt;C:\&gt;set path&lt;br /&gt;Path=e:\oracle\ora10g\bin;E:\oracle\ora92\bin;C:\Program Files\Microsoft Visual&lt;br /&gt;Studio 8\VC\bin;E:\JDEdwards\E812\DDP\Verity\winx86\_nti40\bin;E:\oracle\ora92\j&lt;br /&gt;re\1.4.2\bin\client;E:\oracle\ora92\jre\1.4.2\bin;C:\Program Files\Oracle\jre\1.&lt;br /&gt;3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\HP\NCU;C:\WINDOWS&lt;br /&gt;\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\System Center Ope&lt;br /&gt;rations Manager 2007\&lt;br /&gt;&lt;br /&gt;Update the path entry and remove 10ghome that is in begining of PATH variable so that we can connect to 9i database using 9i home.&lt;br /&gt;&lt;br /&gt;After update in path parameter the new value is,&lt;br /&gt;&lt;br /&gt;C:\Documents and Settings\jde.QIA&gt;set path&lt;br /&gt;Path=E:\oracle\ora92\bin;C:\Program Files\Microsoft Visual Studio 8\VC\bin;E:\JD&lt;br /&gt;Edwards\E812\DDP\Verity\winx86\_nti40\bin;E:\oracle\ora92\jre\1.4.2\bin\client;E&lt;br /&gt;:\oracle\ora92\jre\1.4.2\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Fi&lt;br /&gt;les\Oracle\jre\1.1.8\bin;C:\Program Files\HP\NCU;C:\WINDOWS\system32;C:\WINDOWS;&lt;br /&gt;C:\WINDOWS\System32\Wbem;C:\Program Files\System Center Operations Manager 2007\&lt;br /&gt;&lt;br /&gt;12. Start the 9i database in normal mode (Must) from 9i sqlplus tool,&lt;br /&gt;&lt;br /&gt;E:\&gt;sqlplus&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 9.2.0.8.0 - Production on Fri Oct 29 08:19:23 2010&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Enter user-name: / as sysdba&lt;br /&gt;Connected to an idle instance.&lt;br /&gt;&lt;br /&gt;SQL&gt; exit&lt;br /&gt;Disconnected&lt;br /&gt;&lt;br /&gt;E:\&gt;set oracle&lt;br /&gt;ORACLE_HOME=e:\oracle\ora92&lt;br /&gt;&lt;br /&gt;E:\&gt;sqlplus&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 9.2.0.8.0 - Production on Fri Oct 29 08:19:34 2010&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Enter user-name: / as sysdba&lt;br /&gt;Connected to an idle instance.&lt;br /&gt;&lt;br /&gt;SQL&gt; startup;&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area 1469131144 bytes&lt;br /&gt;Fixed Size                   457096 bytes&lt;br /&gt;Variable Size             696254464 bytes&lt;br /&gt;Database Buffers          771751936 bytes&lt;br /&gt;Redo Buffers                 667648 bytes&lt;br /&gt;Database mounted.&lt;br /&gt;Database opened.&lt;br /&gt;SQL&gt;&lt;br /&gt;&lt;br /&gt;13. copy the following files from the 10gR2 ORACLE_HOME/rdbms/admin directory to a directory outside of the Oracle home, such as the e:\upgradetemp directory on your system:&lt;br /&gt;&lt;br /&gt;ORACLE_HOME/rdbms/admin/utlu102i.sql&lt;br /&gt;ORACLE_HOME/rdbms/admin/utltzuv2.sql&lt;br /&gt;&lt;br /&gt;Make a note of the new location of these files.&lt;br /&gt;&lt;br /&gt;14. Change to the temporary directory that you copied files in previous step.&lt;br /&gt;&lt;br /&gt;Start SQL*Plus and connect to the database instance you are intending to upgrade (running from the original old ORACLE_HOME) as a user with SYSDBA privileges. Then run and spool the utlu102i.sql file. &lt;br /&gt;sqlplus '/as sysdba'&lt;br /&gt;&lt;br /&gt;E:\upgradetemp&gt;dir&lt;br /&gt; Volume in drive E is New Volume&lt;br /&gt; Volume Serial Number is 78AD-5ABC&lt;br /&gt;&lt;br /&gt; Directory of E:\upgradetemp&lt;br /&gt;&lt;br /&gt;10/29/2010  08:10 AM              .&lt;br /&gt;10/29/2010  08:10 AM              ..&lt;br /&gt;02/07/2007  01:23 PM            18,183 utltzuv2.sql&lt;br /&gt;10/08/2007  12:53 PM           136,217 utlu102i.sql&lt;br /&gt;               2 File(s)        154,400 bytes&lt;br /&gt;               2 Dir(s)  224,538,529,792 bytes free&lt;br /&gt;&lt;br /&gt;SQL&gt; spool Database_Info.log&lt;br /&gt;SQL&gt; @utlu102i.sql&lt;br /&gt;SQL&gt; spool off &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Please note:  The instance can be running in normal mode and does not need to be running in a restricted (migrate / upgrade) mode to run the script. Also, the instance must not be running in read-only mode.  A few registry$ tables may be created, if they do not already exist, and some rows may be inserted into existing Upgrade tables. &lt;br /&gt;Then, check the spool file and examine the output of the upgrade information  tool. The sections describe the output of the Upgrade Information Tool (utlu102i.sql).&lt;br /&gt;&lt;br /&gt;*************************&lt;br /&gt;SPOOL OUTPUT FILE CONTENT&lt;br /&gt;*************************&lt;br /&gt;SQL&gt; @utlu102i.sql&lt;br /&gt;Oracle Database 10.2 Upgrade Information Utility    10-29-2010 08:23:58         &lt;br /&gt;.                                                                               &lt;br /&gt;**********************************************************************          &lt;br /&gt;Database:                                                                       &lt;br /&gt;**********************************************************************          &lt;br /&gt;--&gt; name:       JDEDB                                                           &lt;br /&gt;--&gt; version:    9.2.0.8.0                                                       &lt;br /&gt;--&gt; compatible: 9.2.0.0.0                                                       &lt;br /&gt;--&gt; blocksize:  8192                                                            &lt;br /&gt;.                                                                               &lt;br /&gt;**********************************************************************          &lt;br /&gt;Logfiles: [make adjustments in the current environment]                         &lt;br /&gt;**********************************************************************          &lt;br /&gt;--&gt; The existing log files are adequate. No changes are required.               &lt;br /&gt;.                                                                               &lt;br /&gt;**********************************************************************          &lt;br /&gt;Tablespaces: [make adjustments in the current environment]                      &lt;br /&gt;**********************************************************************          &lt;br /&gt;--&gt; SYSTEM tablespace is adequate for the upgrade.                              &lt;br /&gt;.... minimum required size: 730 MB                                              &lt;br /&gt;--&gt; UNDOTBS1 tablespace is adequate for the upgrade.                            &lt;br /&gt;.... minimum required size: 16 MB                                               &lt;br /&gt;--&gt; TEMP tablespace is adequate for the upgrade.                                &lt;br /&gt;.... minimum required size: 58 MB                                               &lt;br /&gt;--&gt; CWMLITE tablespace is adequate for the upgrade.                             &lt;br /&gt;.... minimum required size: 19 MB                                               &lt;br /&gt;--&gt; DRSYS tablespace is adequate for the upgrade.                               &lt;br /&gt;.... minimum required size: 33 MB                                               &lt;br /&gt;.... AUTOEXTEND additional space required: 13 MB                                &lt;br /&gt;--&gt; EXAMPLE tablespace is adequate for the upgrade.                             &lt;br /&gt;.... minimum required size: 151 MB                                              &lt;br /&gt;--&gt; ODM tablespace is adequate for the upgrade.                                 &lt;br /&gt;.... minimum required size: 10 MB                                               &lt;br /&gt;--&gt; XDB tablespace is adequate for the upgrade.                                 &lt;br /&gt;.... minimum required size: 49 MB                                               &lt;br /&gt;.... AUTOEXTEND additional space required: 2 MB                                 &lt;br /&gt;.                                                                               &lt;br /&gt;**********************************************************************          &lt;br /&gt;Update Parameters: [Update Oracle Database 10.2 init.ora or spfile]             &lt;br /&gt;**********************************************************************          &lt;br /&gt;WARNING: --&gt; "streams_pool_size" is not currently defined and needs a value of  &lt;br /&gt;at least 50331648                                                               &lt;br /&gt;WARNING: --&gt; "session_max_open_files" needs to be increased to at least 20      &lt;br /&gt;.                                                                               &lt;br /&gt;**********************************************************************          &lt;br /&gt;Renamed Parameters: [Update Oracle Database 10.2 init.ora or spfile]            &lt;br /&gt;**********************************************************************          &lt;br /&gt;-- No renamed parameters found. No changes are required.                        &lt;br /&gt;.                                                                               &lt;br /&gt;**********************************************************************          &lt;br /&gt;Obsolete/Deprecated Parameters: [Update Oracle Database 10.2 init.ora or spfile]&lt;br /&gt;**********************************************************************          &lt;br /&gt;--&gt; "hash_join_enabled"                                                         &lt;br /&gt;--&gt; "log_archive_start"                                                         &lt;br /&gt;.                                                                               &lt;br /&gt;**********************************************************************          &lt;br /&gt;Components: [The following database components will be upgraded or installed]   &lt;br /&gt;**********************************************************************          &lt;br /&gt;--&gt; Oracle Catalog Views         [upgrade]  VALID                               &lt;br /&gt;--&gt; Oracle Packages and Types    [upgrade]  VALID                               &lt;br /&gt;--&gt; JServer JAVA Virtual Machine [upgrade]  VALID                               &lt;br /&gt;...The 'JServer JAVA Virtual Machine' JAccelerator (NCOMP)                      &lt;br /&gt;...is required to be installed from the 10g Companion CD.                       &lt;br /&gt;--&gt; Oracle XDK for Java          [upgrade]  VALID                               &lt;br /&gt;--&gt; Oracle Java Packages         [upgrade]  VALID                               &lt;br /&gt;--&gt; Oracle Text                  [upgrade]  VALID                               &lt;br /&gt;--&gt; Oracle XML Database          [upgrade]  VALID                               &lt;br /&gt;--&gt; Oracle Workspace Manager     [upgrade]  VALID                               &lt;br /&gt;--&gt; Oracle Data Mining           [upgrade]  VALID                               &lt;br /&gt;--&gt; OLAP Analytic Workspace      [upgrade]  UPGRADED                            &lt;br /&gt;--&gt; OLAP Catalog                 [upgrade]  VALID                               &lt;br /&gt;--&gt; Oracle OLAP API              [upgrade]  UPGRADED                            &lt;br /&gt;--&gt; Oracle interMedia            [upgrade]  VALID                               &lt;br /&gt;...The 'Oracle interMedia Image Accelerator' is                                 &lt;br /&gt;...required to be installed from the 10g Companion CD.                          &lt;br /&gt;--&gt; Spatial                      [upgrade]  VALID                               &lt;br /&gt;--&gt; Oracle Ultra Search          [upgrade]  VALID                               &lt;br /&gt;... To successfully upgrade Ultra Search, install it from                       &lt;br /&gt;... the 10g Companion CD.                                                       &lt;br /&gt;.                                                                               &lt;br /&gt;**********************************************************************          &lt;br /&gt;Miscellaneous Warnings                                                          &lt;br /&gt;**********************************************************************          &lt;br /&gt;WARNING: --&gt; Deprecated CONNECT role granted to some user/roles.                &lt;br /&gt;.... CONNECT role after upgrade has only CREATE SESSION privilege.              &lt;br /&gt;WARNING: --&gt; Database contains stale optimizer statistics.                      &lt;br /&gt;.... Refer to the 10g Upgrade Guide for instructions to update                  &lt;br /&gt;.... statistics prior to upgrading the database.                                &lt;br /&gt;.... Component Schemas with stale statistics:                                   &lt;br /&gt;....   SYS                                                                      &lt;br /&gt;....   XDB                                                                      &lt;br /&gt;....   WMSYS                                                                    &lt;br /&gt;....   ODM                                                                      &lt;br /&gt;....   OLAPSYS                                                                  &lt;br /&gt;....   MDSYS                                                                    &lt;br /&gt;....   WKSYS                                                                    &lt;br /&gt;WARNING: --&gt; Database contains INVALID objects prior to upgrade.                &lt;br /&gt;.... USER OE has 4 INVALID objects.                                             &lt;br /&gt;.... USER SYS has 5 INVALID objects.                                            &lt;br /&gt;.... USER TESTDTA has 2 INVALID objects.                                        &lt;br /&gt;.                                                                               &lt;br /&gt;**********************************************************************          &lt;br /&gt;SYSAUX Tablespace:                                                              &lt;br /&gt;[Create tablespace in the Oracle Database 10.2 environment]                     &lt;br /&gt;**********************************************************************          &lt;br /&gt;--&gt; New "SYSAUX" tablespace                                                     &lt;br /&gt;.... minimum required size for database upgrade: 500 MB                         &lt;br /&gt;.                                                                               &lt;br /&gt;&lt;br /&gt;PL/SQL procedure successfully completed.&lt;br /&gt;&lt;br /&gt;SQL&gt; spool off;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;***********************&lt;br /&gt;***********************&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;13. Increased the size of system tablespace from 1000MB to 2048MB&lt;br /&gt;ALTER DATABASE DATAFILE 'E:\ORACLE\ORADATA\JDEDB\SYSTEM01.DBF' RESIZE  2048M;&lt;br /&gt;&lt;br /&gt;UNDOTBS1 is already 3635MB and has all free space except 15MB used.&lt;br /&gt;&lt;br /&gt;Increased the size of TEMP tablespace from 1500MB to 2048MB&lt;br /&gt;ALTER DATABASE TEMPFILE 'E:\ORACLE\ORADATA\JDEDB\TEMP01.DBF' RESIZE  2048M&lt;br /&gt;&lt;br /&gt;Increased the size of CWMLITE tablespace from 20MB to 128MB&lt;br /&gt;ALTER DATABASE DATAFILE 'E:\ORACLE\ORADATA\JDEDB\CWMLITE01.DBF' RESIZE  128M&lt;br /&gt;&lt;br /&gt;Increased the size of DRSYS01 tablespace from 20MB to 128MB&lt;br /&gt;ALTER DATABASE DATAFILE 'E:\ORACLE\ORADATA\JDEDB\DRSYS01.DBF' RESIZE  128M;&lt;br /&gt;&lt;br /&gt;EXAMPLES already 247 MB and has 60 free space i.e, only 148 MB used.&lt;br /&gt;&lt;br /&gt;ODM already 20 MB and has 10 free space i.e, only 10 MB used.&lt;br /&gt;&lt;br /&gt;Increased the size of XDB tablespace from 47MB to 128MB&lt;br /&gt;ALTER DATABASE DATAFILE 'E:\ORACLE\ORADATA\JDEDB\XDB01.DBF' RESIZE  128M&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;14. Current initJDEDB.ora file content before any update.&lt;br /&gt;&lt;br /&gt;*.aq_tm_processes=1&lt;br /&gt;*.background_dump_dest='E:\oracle\admin\JDEDB\bdump'&lt;br /&gt;*.compatible='9.2.0.0.0'&lt;br /&gt;*.control_files='E:\oracle\oradata\JDEDB\CONTROL01.CTL','E:\oracle\oradata\JDEDB\CONTROL02.CTL','E:\oracle\oradata\JDEDB\CONTROL03.CTL'&lt;br /&gt;*.core_dump_dest='E:\oracle\admin\JDEDB\cdump'&lt;br /&gt;*.db_block_size=8192&lt;br /&gt;*.db_cache_size=771658240&lt;br /&gt;*.db_domain=''&lt;br /&gt;*.db_file_multiblock_read_count=16&lt;br /&gt;*.db_name='JDEDB'&lt;br /&gt;*.dispatchers='(PROTOCOL=TCP) (SERVICE=JDEDBXDB)'&lt;br /&gt;*.fast_start_mttr_target=300&lt;br /&gt;*.hash_join_enabled=TRUE&lt;br /&gt;*.instance_name='JDEDB'&lt;br /&gt;*.java_pool_size=67108864&lt;br /&gt;*.job_queue_processes=10&lt;br /&gt;*.large_pool_size=67108864&lt;br /&gt;*.open_cursors=300&lt;br /&gt;*.pga_aggregate_target=451658240&lt;br /&gt;*.processes=150&lt;br /&gt;*.query_rewrite_enabled='FALSE'&lt;br /&gt;*.remote_login_passwordfile='EXCLUSIVE'&lt;br /&gt;*.shared_pool_size=536870912&lt;br /&gt;*.sort_area_size=2097152&lt;br /&gt;*.star_transformation_enabled='FALSE'&lt;br /&gt;*.timed_statistics=TRUE&lt;br /&gt;*.undo_management='AUTO'&lt;br /&gt;*.undo_retention=10800&lt;br /&gt;*.undo_tablespace='UNDOTBS1'&lt;br /&gt;*.user_dump_dest='E:\oracle\admin\JDEDB\udump'&lt;br /&gt;*.log_archive_start=TRUE&lt;br /&gt;*.log_archive_dest=E:\fra&lt;br /&gt;&lt;br /&gt;Added *.streams_pool_size=50331648 (but commented as it is new 10g parameter), *.session_max_open_files=20 as required&lt;br /&gt;Updated *.db_cache_size=771658240 to *.db_cache_size=371658240&lt;br /&gt;Updated *.java_pool_size=67108864 to *.java_pool_size=167108864&lt;br /&gt;Updated *.large_pool_size=67108864 to *.large_pool_size=157108864&lt;br /&gt;Updated *.pga_aggregate_target=451658240 to 251658240&lt;br /&gt;Updated *.shared_pool_size=536870912 to 236870912&lt;br /&gt;&lt;br /&gt;so the final initJDEDB.ora file content is,&lt;br /&gt;&lt;br /&gt;*.aq_tm_processes=1&lt;br /&gt;*.background_dump_dest='E:\oracle\admin\JDEDB\bdump'&lt;br /&gt;*.compatible='9.2.0.0.0'&lt;br /&gt;*.control_files='E:\oracle\oradata\JDEDB\CONTROL01.CTL','E:\oracle\oradata\JDEDB\CONTROL02.CTL','E:\oracle\oradata\JDEDB\CONTROL03.CTL'&lt;br /&gt;*.core_dump_dest='E:\oracle\admin\JDEDB\cdump'&lt;br /&gt;*.db_block_size=8192&lt;br /&gt;*.db_cache_size=371658240&lt;br /&gt;*.db_domain=''&lt;br /&gt;*.db_file_multiblock_read_count=16&lt;br /&gt;*.db_name='JDEDB'&lt;br /&gt;*.dispatchers='(PROTOCOL=TCP) (SERVICE=JDEDBXDB)'&lt;br /&gt;*.fast_start_mttr_target=300&lt;br /&gt;*.hash_join_enabled=TRUE&lt;br /&gt;*.instance_name='JDEDB'&lt;br /&gt;*.java_pool_size=167108864&lt;br /&gt;*.job_queue_processes=10&lt;br /&gt;*.large_pool_size=157108864&lt;br /&gt;*.open_cursors=300&lt;br /&gt;*.pga_aggregate_target=251658240&lt;br /&gt;*.processes=150&lt;br /&gt;*.query_rewrite_enabled='FALSE'&lt;br /&gt;*.remote_login_passwordfile='EXCLUSIVE'&lt;br /&gt;*.shared_pool_size=236870912&lt;br /&gt;*.sort_area_size=2097152&lt;br /&gt;*.star_transformation_enabled='FALSE'&lt;br /&gt;*.timed_statistics=TRUE&lt;br /&gt;*.undo_management='AUTO'&lt;br /&gt;*.undo_retention=10800&lt;br /&gt;*.undo_tablespace='UNDOTBS1'&lt;br /&gt;*.user_dump_dest='E:\oracle\admin\JDEDB\udump'&lt;br /&gt;*.log_archive_start=TRUE&lt;br /&gt;*.log_archive_dest=E:\fra&lt;br /&gt;*.session_max_open_files=20&lt;br /&gt;#*.streams_pool_size=50331648&lt;br /&gt;&lt;br /&gt;Shutdown immediate&lt;br /&gt;&lt;br /&gt;Startup;&lt;br /&gt;&lt;br /&gt;15. After upgrading to 10gR2, the CONNECT role will only have the CREATE SESSION privilege; the other privileges granted to the CONNECT role in earlier releases will be revoked during the upgrade. To identify which users and roles in your database are granted the CONNECT role, use the following query:&lt;br /&gt;&lt;br /&gt;SQL&gt; SELECT grantee FROM dba_role_privs&lt;br /&gt;  2  WHERE granted_role = 'CONNECT' and&lt;br /&gt;  3  grantee NOT IN (&lt;br /&gt;  4  'SYS', 'OUTLN', 'SYSTEM', 'CTXSYS', 'DBSNMP',&lt;br /&gt;  5  'LOGSTDBY_ADMINISTRATOR', 'ORDSYS',&lt;br /&gt;  6  'ORDPLUGINS', 'OEM_MONITOR', 'WKSYS', 'WKPROXY',&lt;br /&gt;  7  'WK_TEST', 'WKUSER', 'MDSYS', 'LBACSYS', 'DMSYS',&lt;br /&gt;  8  'WMSYS', 'OLAPDBA', 'OLAPSVR', 'OLAP_USER',&lt;br /&gt;  9  'OLAPSYS', 'EXFSYS', 'SYSMAN', 'MDDATA',&lt;br /&gt; 10  'SI_INFORMTN_SCHEMA', 'XDB', 'ODM');&lt;br /&gt;&lt;br /&gt;GRANTEE&lt;br /&gt;------------------------------&lt;br /&gt;HR&lt;br /&gt;OE&lt;br /&gt;PM&lt;br /&gt;QS&lt;br /&gt;SH&lt;br /&gt;PSFT&lt;br /&gt;RMAN&lt;br /&gt;DV810&lt;br /&gt;QS_CB&lt;br /&gt;QS_CS&lt;br /&gt;QS_ES&lt;br /&gt;QS_OS&lt;br /&gt;QS_WS&lt;br /&gt;SCOTT&lt;br /&gt;CRPCTL&lt;br /&gt;CRPDTA&lt;br /&gt;JDEDBA&lt;br /&gt;QS_ADM&lt;br /&gt;AUDITOR&lt;br /&gt;PRODCTL&lt;br /&gt;PRODDTA&lt;br /&gt;TESTCTL&lt;br /&gt;TESTDTA&lt;br /&gt;QS_CBADM&lt;br /&gt;24 rows selected.&lt;br /&gt;&lt;br /&gt;SQL&gt; SELECT GRANTEE,PRIVILEGE FROM DBA_SYS_PRIVS&lt;br /&gt;  2  WHERE GRANTEE='CONNECT'&lt;br /&gt;  3  ;&lt;br /&gt;&lt;br /&gt;GRANTEE                        PRIVILEGE&lt;br /&gt;------------------------------ --------------------&lt;br /&gt;CONNECT                        CREATE VIEW&lt;br /&gt;CONNECT                        CREATE TABLE&lt;br /&gt;CONNECT                        ALTER SESSION&lt;br /&gt;CONNECT                        CREATE CLUSTER&lt;br /&gt;CONNECT                        CREATE SESSION&lt;br /&gt;CONNECT                        CREATE SYNONYM&lt;br /&gt;CONNECT                        CREATE SEQUENCE&lt;br /&gt;CONNECT                        CREATE DATABASE LINK&lt;br /&gt;8 rows selected.&lt;br /&gt;&lt;br /&gt;NOTE: AFTER UPGRADE GRANT THE ABOVE SYSTEM PRIVILEGES TO ALL THE USERS LIST IN PREVIOUS SCRIPT.&lt;br /&gt;&lt;br /&gt;16. Check for dblinks and to recreate them after the upgrade is done,&lt;br /&gt;&lt;br /&gt;SQL&gt; SELECT&lt;br /&gt;  2  'create '||DECODE(U.NAME,'PUBLIC','public ')||'database link '||CHR(10)&lt;br /&gt;  3  ||DECODE(U.NAME,'PUBLIC',Null, U.NAME||'.')|| L.NAME||chr(10)&lt;br /&gt;  4  ||'connect to ' || L.USERID || ' identified by '''&lt;br /&gt;  5  ||L.PASSWORD||''' using ''' || L.host || ''''&lt;br /&gt;  6  ||chr(10)||';' TEXT&lt;br /&gt;  7  FROM sys.link$ L,&lt;br /&gt;  8  sys.user$ U&lt;br /&gt;  9  WHERE L.OWNER# = U.USER# ;&lt;br /&gt;&lt;br /&gt;no rows selected&lt;br /&gt;&lt;br /&gt;17. If you are upgrading from Oracle9iR2 (9.2), verify that the view dba_registry contains data. If the view is empty, run the following scripts from the 9.2 home:&lt;br /&gt;% sqlplus '/as sysdba' &lt;br /&gt;SQL&gt; @?/rdbms/admin/catalog.sql &lt;br /&gt;SQL&gt; @?/rdbms/admin/catproc.sql &lt;br /&gt;SQL&gt; @?/rdbms/admin/utlrp.sql &lt;br /&gt;and verify that the dba_registry view now contains data. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;18. I ignored this step,&lt;br /&gt;But if you want as per the standard, check for corruption in the dictionary, use the following commands in sqlplus connected as sys:&lt;br /&gt;Set verify off&lt;br /&gt;Set space 0&lt;br /&gt;Set line 120&lt;br /&gt;Set heading off&lt;br /&gt;Set feedback off&lt;br /&gt;Set pages 1000&lt;br /&gt;Spool analyze.sql&lt;br /&gt;&lt;br /&gt;Select 'Analyze cluster "'||cluster_name||'" validate structure cascade;'&lt;br /&gt;from dba_clusters&lt;br /&gt;where owner='SYS'&lt;br /&gt;union&lt;br /&gt;Select 'Analyze table "'||table_name||'" validate structure cascade;' &lt;br /&gt;from dba_tables&lt;br /&gt;where owner='SYS' and partitioned='NO' and (iot_type='IOT' or iot_type is NULL)&lt;br /&gt;union&lt;br /&gt;Select 'Analyze table "'||table_name||'" validate structure cascade into invalid_rows;'&lt;br /&gt;from dba_tables&lt;br /&gt;where owner='SYS' and partitioned='YES';&lt;br /&gt;&lt;br /&gt;spool off&lt;br /&gt;&lt;br /&gt;This creates a script called analyze.sql. &lt;br /&gt;Now execute the following steps.&lt;br /&gt;&lt;br /&gt;$ sqlplus '/as sysdba'&lt;br /&gt;SQL&gt; @$ORACLE_HOME/rdbms/admin/utlvalid.sql&lt;br /&gt;SQL&gt; @analyze.sql&lt;br /&gt;&lt;br /&gt;This script (analyze.sql) should not return any errors.&lt;br /&gt;&lt;br /&gt;19. Since we don't have replication in database so I ignored the following step,&lt;br /&gt;&lt;br /&gt;Ensure that all Materialized views / Snapshot refreshes are successfully completed, and that replication must be stopped (ie: quiesced). &lt;br /&gt;&lt;br /&gt;$ sqlplus '/ as sysdba' &lt;br /&gt;SQL&gt; select distinct(trunc(last_refresh)) from dba_snapshot_refresh_times; &lt;br /&gt;You can also use:&lt;br /&gt;SQL&gt; select distinct owner, name mview, master_owner master_owner, last_refresh from dba_mview_refresh_times; &lt;br /&gt;&lt;br /&gt;20. Stop the listener for the database: &lt;br /&gt;&lt;br /&gt;$ lsnrctl &lt;br /&gt;LSNRCTL&gt; stop &lt;br /&gt;&lt;br /&gt;Ensure no files need media recovery: &lt;br /&gt;&lt;br /&gt;SQL&gt; select * from v$recover_file;&lt;br /&gt;&lt;br /&gt;no rows selected&lt;br /&gt;&lt;br /&gt;21. Ensure no files are in backup mode: &lt;br /&gt;&lt;br /&gt;SQL&gt; select * from v$backup where status!='NOT ACTIVE';&lt;br /&gt;no rows selected&lt;br /&gt;&lt;br /&gt;This should return no rows.&lt;br /&gt;&lt;br /&gt;22. Resolve any outstanding unresolved distributed transaction: &lt;br /&gt;&lt;br /&gt;SQL&gt; select * from dba_2pc_pending; &lt;br /&gt;&lt;br /&gt;If this returns rows you should do the following: &lt;br /&gt;&lt;br /&gt;SQL&gt; select local_tran_id from dba_2pc_pending;&lt;br /&gt;SQL&gt; execute dbms_transaction.purge_lost_db_entry(''); &lt;br /&gt;SQL&gt; commit;&lt;br /&gt;&lt;br /&gt;23. Disable all batch and cron jobs. &lt;br /&gt;&lt;br /&gt;24. Ensure the users sys and system have 'system' as their default tablespace. &lt;br /&gt;&lt;br /&gt;SQL&gt; select username, default_tablespace from dba_users where username in ('SYS','SYSTEM');&lt;br /&gt;&lt;br /&gt;USERNAME                       DEFAULT_TABLESPACE&lt;br /&gt;------------------------------ -------------------------&lt;br /&gt;SYSTEM                         SYSTEM&lt;br /&gt;SYS                            SYSTEM&lt;br /&gt;&lt;br /&gt;To modify use:&lt;br /&gt;&lt;br /&gt;SQL&gt; alter user sys default tablespace SYSTEM; &lt;br /&gt;SQL&gt; alter user system default tablespace SYSTEM; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;25. stop listnere so that no body is connecting to ur database.&lt;br /&gt;&lt;br /&gt;26. Ensure that the aud$ is in the system tablespace when auditing is enabled.&lt;br /&gt;&lt;br /&gt;SQL&gt; select tablespace_name from dba_tables where table_name='AUD$';&lt;br /&gt;&lt;br /&gt;TABLESPACE_NAME&lt;br /&gt;------------------------------&lt;br /&gt;SYSTEM&lt;br /&gt;&lt;br /&gt;If the AUD$ table exists, and is in use, upgrade performance can be effected depending on the number of records in the table.  &lt;br /&gt;Please refer to the following note for information on exporting and truncating the AUD$ table:&lt;br /&gt;Note.979942.1 Ext/Pub Database upgrade appears to have halted at SYS.AUD$ Table &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;27. Note down where all control files are located.&lt;br /&gt;&lt;br /&gt;SQL&gt; select * from v$controlfile;&lt;br /&gt;&lt;br /&gt;STATUS&lt;br /&gt;-------&lt;br /&gt;NAME&lt;br /&gt;-------------------------------------&lt;br /&gt;E:\ORACLE\ORADATA\JDEDB\CONTROL01.CTL&lt;br /&gt;E:\ORACLE\ORADATA\JDEDB\CONTROL02.CTL&lt;br /&gt;E:\ORACLE\ORADATA\JDEDB\CONTROL03.CTL&lt;br /&gt;&lt;br /&gt;28. If table XDB.MIGR9202STATUS exists in the database, drop it before upgrading the database (to avoid the issue described in Note:356082.1) &lt;br /&gt;&lt;br /&gt;29. Shutdown the database &lt;br /&gt;&lt;br /&gt;$ sqlplus '/as sysdba' &lt;br /&gt;SQL&gt; shutdown immediate; &lt;br /&gt;&lt;br /&gt;30. Perform a full cold backup (or an online backup using RMAN)&lt;br /&gt;&lt;br /&gt;You can either do this by manually copying the files or sign on to RMAN&lt;br /&gt;&lt;br /&gt;$ rman "target / nocatalog"&lt;br /&gt;&lt;br /&gt;31. Make a backup of the old init.ora file&lt;br /&gt;&lt;br /&gt;Copy it from the old (pre-10.2) ORACLE_HOME to the new (10.2) ORACLE_HOME&lt;br /&gt;Copy from E:\oracle\ora92\database to E:\oracle\ora10g\database.&lt;br /&gt;&lt;br /&gt;Comment out any obsoleted parameters and Change all deprecated parameters &lt;br /&gt;&lt;br /&gt;I commeted #*.log_archive_start=TRUE while added *.streams_pool_size=50331648 parameters.&lt;br /&gt;&lt;br /&gt;- Set the COMPATIBLE initialization parameter to an appropriate value. If you are &lt;br /&gt;upgrading from 8.1.7.4 then set the COMPATIBLE parameter to 9.2.0 until after the&lt;br /&gt;upgrade has been completed successfully.&lt;br /&gt;If you are upgrading from 9.2.0 or 10.1.0&lt;br /&gt;then leave the COMPATIBLE parameter set to it's current value until the upgrade &lt;br /&gt;has been completed successfully. This will avoid any unnecessary ORA-942 errors&lt;br /&gt;from being reported in SMON trace files during the upgrade (because the upgrade&lt;br /&gt;is looking for 10.2 objects that have not yet been created)&lt;br /&gt;&lt;br /&gt;SO LEAVE COMPATIBLE PARAMETER AS IT IS FOR US.&lt;br /&gt;&lt;br /&gt;32. If you have the parameter NLS_LENGTH_SEMANTICS currently set to CHAR, change the value&lt;br /&gt;to BYTE during the upgrade (to avoid the issue described in Note:4638550.8) &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&gt; SHOW PARAMETER NLS_LENGTH&lt;br /&gt;&lt;br /&gt;NAME                                 TYPE        VALUE&lt;br /&gt;------------------------------------ ----------- -----&lt;br /&gt;nls_length_semantics                 string      BYTE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;33. Deleted oracle listener Oraclelistner9i using the add/delete services tool.&lt;br /&gt;&lt;br /&gt;34. Copy the tnsnames.ora, listener.ora, sqlnet.ora files and put it in new oracle_home/network/admin directory and update accordingly to the new 10g.&lt;br /&gt;&lt;br /&gt;35. Create the service---&gt; oradim -delete -sid jdedb&lt;br /&gt;&lt;br /&gt;36. update environment variables to point to 10g.&lt;br /&gt;SET PATH=E:\ORACLE\ORA10G\BIN;%PATH%&lt;br /&gt;SET ORACLE_SID=JDEDB&lt;br /&gt;SET TNS_ADMIN=E:\ORACLE\ORA10G\NETWORK\ADMIN&lt;br /&gt;&lt;br /&gt;Now create the new database service ---&gt; oradim -new -sid jdedb -startmode auto&lt;br /&gt;&lt;br /&gt;37. sqlplus '/ as sysdba'&lt;br /&gt;&lt;br /&gt;SQL&gt; STARTUP UPGRADE;&lt;br /&gt;&lt;br /&gt;SELECT STATUS FROM V$INSTANCE;&lt;br /&gt;&lt;br /&gt;OPEN MIGRATE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;38. CREATE TABLESPACE SYSAUX DATAFILE 'e:\oracle\oradata\JDEDB\sysaux01.dbf' SIZE 2048m REUSE EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO ONLINE;&lt;br /&gt;&lt;br /&gt;39. Now run the following script to upgrade.&lt;br /&gt;&lt;br /&gt;spool upgrade10g.txt&lt;br /&gt;@E:\oracle\ora10g\RDBMS\ADMIN\catupgrd.sql&lt;br /&gt;spool off&lt;br /&gt;shutdown immediate;&lt;br /&gt;startup;&lt;br /&gt;spool invalids.txt&lt;br /&gt;@E:\oracle\ora10g\RDBMS\ADMIN\utlrp.sql&lt;br /&gt;spool off;&lt;br /&gt;&lt;br /&gt;40. Now grant the system privileges that were missing due to connect role.&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO HR;&lt;br /&gt;GRANT CREATE TABLE TO HR;&lt;br /&gt;GRANT ALTER SESSION TO HR;&lt;br /&gt;GRANT CREATE CLUSTER TO HR;&lt;br /&gt;GRANT CREATE SESSION TO HR;&lt;br /&gt;GRANT CREATE SYNONYM TO HR;&lt;br /&gt;GRANT CREATE SEQUENCE TO HR;&lt;br /&gt;GRANT CREATE DATABASE LINK TO HR;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO OE;&lt;br /&gt;GRANT CREATE TABLE TO OE;&lt;br /&gt;GRANT ALTER SESSION TO OE;&lt;br /&gt;GRANT CREATE CLUSTER TO OE;&lt;br /&gt;GRANT CREATE SESSION TO OE;&lt;br /&gt;GRANT CREATE SYNONYM TO OE;&lt;br /&gt;GRANT CREATE SEQUENCE TO OE;&lt;br /&gt;GRANT CREATE DATABASE LINK TO OE;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO PM;&lt;br /&gt;GRANT CREATE TABLE TO PM;&lt;br /&gt;GRANT ALTER SESSION TO PM;&lt;br /&gt;GRANT CREATE CLUSTER TO PM;&lt;br /&gt;GRANT CREATE SESSION TO PM;&lt;br /&gt;GRANT CREATE SYNONYM TO PM;&lt;br /&gt;GRANT CREATE SEQUENCE TO PM;&lt;br /&gt;GRANT CREATE DATABASE LINK TO PM;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO QS;&lt;br /&gt;GRANT CREATE TABLE TO QS;&lt;br /&gt;GRANT ALTER SESSION TO QS;&lt;br /&gt;GRANT CREATE CLUSTER TO QS;&lt;br /&gt;GRANT CREATE SESSION TO QS;&lt;br /&gt;GRANT CREATE SYNONYM TO QS;&lt;br /&gt;GRANT CREATE SEQUENCE TO QS;&lt;br /&gt;GRANT CREATE DATABASE LINK TO QS;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO SH;&lt;br /&gt;GRANT CREATE TABLE TO SH;&lt;br /&gt;GRANT ALTER SESSION TO SH;&lt;br /&gt;GRANT CREATE CLUSTER TO SH;&lt;br /&gt;GRANT CREATE SESSION TO SH;&lt;br /&gt;GRANT CREATE SYNONYM TO SH;&lt;br /&gt;GRANT CREATE SEQUENCE TO SH;&lt;br /&gt;GRANT CREATE DATABASE LINK TO SH;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO PSFT;&lt;br /&gt;GRANT CREATE TABLE TO PSFT;&lt;br /&gt;GRANT ALTER SESSION TO PSFT;&lt;br /&gt;GRANT CREATE CLUSTER TO PSFT;&lt;br /&gt;GRANT CREATE SESSION TO PSFT;&lt;br /&gt;GRANT CREATE SYNONYM TO PSFT;&lt;br /&gt;GRANT CREATE SEQUENCE TO PSFT;&lt;br /&gt;GRANT CREATE DATABASE LINK TO PSFT;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO RMAN;&lt;br /&gt;GRANT CREATE TABLE TO RMAN;&lt;br /&gt;GRANT ALTER SESSION TO RMAN;&lt;br /&gt;GRANT CREATE CLUSTER TO RMAN;&lt;br /&gt;GRANT CREATE SESSION TO RMAN;&lt;br /&gt;GRANT CREATE SYNONYM TO RMAN;&lt;br /&gt;GRANT CREATE SEQUENCE TO RMAN;&lt;br /&gt;GRANT CREATE DATABASE LINK TO RMAN;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO DV810;&lt;br /&gt;GRANT CREATE TABLE TO DV810;&lt;br /&gt;GRANT ALTER SESSION TO DV810;&lt;br /&gt;GRANT CREATE CLUSTER TO DV810;&lt;br /&gt;GRANT CREATE SESSION TO DV810;&lt;br /&gt;GRANT CREATE SYNONYM TO DV810;&lt;br /&gt;GRANT CREATE SEQUENCE TO DV810;&lt;br /&gt;GRANT CREATE DATABASE LINK TO DV810;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO QS_CB;&lt;br /&gt;GRANT CREATE TABLE TO QS_CB;&lt;br /&gt;GRANT ALTER SESSION TO QS_CB;&lt;br /&gt;GRANT CREATE CLUSTER TO QS_CB;&lt;br /&gt;GRANT CREATE SESSION TO QS_CB;&lt;br /&gt;GRANT CREATE SYNONYM TO QS_CB;&lt;br /&gt;GRANT CREATE SEQUENCE TO QS_CB;&lt;br /&gt;GRANT CREATE DATABASE LINK TO QS_CB;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO QS_CS;&lt;br /&gt;GRANT CREATE TABLE TO QS_CS;&lt;br /&gt;GRANT ALTER SESSION TO QS_CS;&lt;br /&gt;GRANT CREATE CLUSTER TO QS_CS;&lt;br /&gt;GRANT CREATE SESSION TO QS_CS;&lt;br /&gt;GRANT CREATE SYNONYM TO QS_CS;&lt;br /&gt;GRANT CREATE SEQUENCE TO QS_CS;&lt;br /&gt;GRANT CREATE DATABASE LINK TO QS_CS;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO QS_ES;&lt;br /&gt;GRANT CREATE TABLE TO QS_ES;&lt;br /&gt;GRANT ALTER SESSION TO QS_ES;&lt;br /&gt;GRANT CREATE CLUSTER TO QS_ES;&lt;br /&gt;GRANT CREATE SESSION TO QS_ES;&lt;br /&gt;GRANT CREATE SYNONYM TO QS_ES;&lt;br /&gt;GRANT CREATE SEQUENCE TO QS_ES;&lt;br /&gt;GRANT CREATE DATABASE LINK TO QS_ES;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO QS_OS;&lt;br /&gt;GRANT CREATE TABLE TO QS_OS;&lt;br /&gt;GRANT ALTER SESSION TO QS_OS;&lt;br /&gt;GRANT CREATE CLUSTER TO QS_OS;&lt;br /&gt;GRANT CREATE SESSION TO QS_OS;&lt;br /&gt;GRANT CREATE SYNONYM TO QS_OS;&lt;br /&gt;GRANT CREATE SEQUENCE TO QS_OS;&lt;br /&gt;GRANT CREATE DATABASE LINK TO QS_OS;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO QS_WS;&lt;br /&gt;GRANT CREATE TABLE TO QS_WS;&lt;br /&gt;GRANT ALTER SESSION TO QS_WS;&lt;br /&gt;GRANT CREATE CLUSTER TO QS_WS;&lt;br /&gt;GRANT CREATE SESSION TO QS_WS;&lt;br /&gt;GRANT CREATE SYNONYM TO QS_WS;&lt;br /&gt;GRANT CREATE SEQUENCE TO QS_WS;&lt;br /&gt;GRANT CREATE DATABASE LINK TO QS_WS;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO SCOTT;&lt;br /&gt;GRANT CREATE TABLE TO SCOTT;&lt;br /&gt;GRANT ALTER SESSION TO SCOTT;&lt;br /&gt;GRANT CREATE CLUSTER TO SCOTT;&lt;br /&gt;GRANT CREATE SESSION TO SCOTT;&lt;br /&gt;GRANT CREATE SYNONYM TO SCOTT;&lt;br /&gt;GRANT CREATE SEQUENCE TO SCOTT;&lt;br /&gt;GRANT CREATE DATABASE LINK TO SCOTT;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO CRPCTL;&lt;br /&gt;GRANT CREATE TABLE TO CRPCTL;&lt;br /&gt;GRANT ALTER SESSION TO CRPCTL;&lt;br /&gt;GRANT CREATE CLUSTER TO CRPCTL;&lt;br /&gt;GRANT CREATE SESSION TO CRPCTL;&lt;br /&gt;GRANT CREATE SYNONYM TO CRPCTL;&lt;br /&gt;GRANT CREATE SEQUENCE TO CRPCTL;&lt;br /&gt;GRANT CREATE DATABASE LINK TO CRPCTL;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO CRPDTA;&lt;br /&gt;GRANT CREATE TABLE TO CRPDTA;&lt;br /&gt;GRANT ALTER SESSION TO CRPDTA;&lt;br /&gt;GRANT CREATE CLUSTER TO CRPDTA;&lt;br /&gt;GRANT CREATE SESSION TO CRPDTA;&lt;br /&gt;GRANT CREATE SYNONYM TO CRPDTA;&lt;br /&gt;GRANT CREATE SEQUENCE TO CRPDTA;&lt;br /&gt;GRANT CREATE DATABASE LINK TO CRPDTA;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO JDEDBA;&lt;br /&gt;GRANT CREATE TABLE TO JDEDBA;&lt;br /&gt;GRANT ALTER SESSION TO JDEDBA;&lt;br /&gt;GRANT CREATE CLUSTER TO JDEDBA;&lt;br /&gt;GRANT CREATE SESSION TO JDEDBA;&lt;br /&gt;GRANT CREATE SYNONYM TO JDEDBA;&lt;br /&gt;GRANT CREATE SEQUENCE TO JDEDBA;&lt;br /&gt;GRANT CREATE DATABASE LINK TO JDEDBA;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO QS_ADM;&lt;br /&gt;GRANT CREATE TABLE TO QS_ADM;&lt;br /&gt;GRANT ALTER SESSION TO QS_ADM;&lt;br /&gt;GRANT CREATE CLUSTER TO QS_ADM;&lt;br /&gt;GRANT CREATE SESSION TO QS_ADM;&lt;br /&gt;GRANT CREATE SYNONYM TO QS_ADM;&lt;br /&gt;GRANT CREATE SEQUENCE TO QS_ADM;&lt;br /&gt;GRANT CREATE DATABASE LINK TO QS_ADM;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO AUDITOR;&lt;br /&gt;GRANT CREATE TABLE TO AUDITOR;&lt;br /&gt;GRANT ALTER SESSION TO AUDITOR;&lt;br /&gt;GRANT CREATE CLUSTER TO AUDITOR;&lt;br /&gt;GRANT CREATE SESSION TO AUDITOR;&lt;br /&gt;GRANT CREATE SYNONYM TO AUDITOR;&lt;br /&gt;GRANT CREATE SEQUENCE TO AUDITOR;&lt;br /&gt;GRANT CREATE DATABASE LINK TO AUDITOR;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO PRODCTL;&lt;br /&gt;GRANT CREATE TABLE TO PRODCTL;&lt;br /&gt;GRANT ALTER SESSION TO PRODCTL;&lt;br /&gt;GRANT CREATE CLUSTER TO PRODCTL;&lt;br /&gt;GRANT CREATE SESSION TO PRODCTL;&lt;br /&gt;GRANT CREATE SYNONYM TO PRODCTL;&lt;br /&gt;GRANT CREATE SEQUENCE TO PRODCTL;&lt;br /&gt;GRANT CREATE DATABASE LINK TO PRODCTL;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO PRODDTA;&lt;br /&gt;GRANT CREATE TABLE TO PRODDTA;&lt;br /&gt;GRANT ALTER SESSION TO PRODDTA;&lt;br /&gt;GRANT CREATE CLUSTER TO PRODDTA;&lt;br /&gt;GRANT CREATE SESSION TO PRODDTA;&lt;br /&gt;GRANT CREATE SYNONYM TO PRODDTA;&lt;br /&gt;GRANT CREATE SEQUENCE TO PRODDTA;&lt;br /&gt;GRANT CREATE DATABASE LINK TO PRODDTA;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO TESTCTL;&lt;br /&gt;GRANT CREATE TABLE TO TESTCTL;&lt;br /&gt;GRANT ALTER SESSION TO TESTCTL;&lt;br /&gt;GRANT CREATE CLUSTER TO TESTCTL;&lt;br /&gt;GRANT CREATE SESSION TO TESTCTL;&lt;br /&gt;GRANT CREATE SYNONYM TO TESTCTL;&lt;br /&gt;GRANT CREATE SEQUENCE TO TESTCTL;&lt;br /&gt;GRANT CREATE DATABASE LINK TO TESTCTL;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO TESTDTA;&lt;br /&gt;GRANT CREATE TABLE TO TESTDTA;&lt;br /&gt;GRANT ALTER SESSION TO TESTDTA;&lt;br /&gt;GRANT CREATE CLUSTER TO TESTDTA;&lt;br /&gt;GRANT CREATE SESSION TO TESTDTA;&lt;br /&gt;GRANT CREATE SYNONYM TO TESTDTA;&lt;br /&gt;GRANT CREATE SEQUENCE TO TESTDTA;&lt;br /&gt;GRANT CREATE DATABASE LINK TO TESTDTA;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GRANT CREATE VIEW TO QS_CBADM;&lt;br /&gt;GRANT CREATE TABLE TO QS_CBADM;&lt;br /&gt;GRANT ALTER SESSION TO QS_CBADM;&lt;br /&gt;GRANT CREATE CLUSTER TO QS_CBADM;&lt;br /&gt;GRANT CREATE SESSION TO QS_CBADM;&lt;br /&gt;GRANT CREATE SYNONYM TO QS_CBADM;&lt;br /&gt;GRANT CREATE SEQUENCE TO QS_CBADM;&lt;br /&gt;GRANT CREATE DATABASE LINK TO QS_CBADM;&lt;br /&gt;&lt;br /&gt;41. ADD FLASH RECOVERY AREA&lt;br /&gt;&lt;br /&gt;42. UPDATE ALL THE SCHEDULED BACKUPS ACCORDINGLY TO NEW UPGRADED ORACLE DATABASE.&lt;br /&gt;&lt;br /&gt;You can refer to the following metalink document if you need further assistance or email me at samiora@gmail.com&lt;br /&gt;&lt;br /&gt;Note  316889.1 Complete Checklist for Manual Upgrades to 10gR2.docx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-4629090384252287328?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/4629090384252287328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=4629090384252287328' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/4629090384252287328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/4629090384252287328'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2010/11/upgrade-oracle-database-from-9i-to-10g.html' title='Upgrade Oracle Database 9i to 10g 10204'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-5958558908663004173</id><published>2010-10-10T23:34:00.000-07:00</published><updated>2010-10-11T00:55:56.704-07:00</updated><title type='text'>Physical Standby database using Dataguard</title><content type='html'>Oracle 10g Data Guard is a great tool to ensure high availability, data protection and disaster recovery for enterprise data. I have been working on Data Guard/Standby databases using both Grid control and SQL command line from 2005 while I was working with Oracle Corporation then, and till now using Data guard technology while now I am working with a government sector as Senior Applications DBA.&lt;br /&gt;&lt;br /&gt;My latest experience with Data Guard was manually creating a Physical Standby Database in a Disaster Recovery DR project. I am maintaining it daily and it works well. I would like to share my experience with the other DBAs.&lt;br /&gt;&lt;br /&gt;In this example the database version is 10.2.0.1. The Primary database and Standby database are located on different machines at different sites. The Primary database is called CELL and the Standby database is called STAN. I use Flash Recovery Area, and OMF.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;I. Before you get started:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. Make sure the operating system and platform architecture on the primary and standby systems are the same.&lt;br /&gt;&lt;br /&gt;2. Install Oracle database software without the starter database on the standby server and patch it if necessary. Make sure the same Oracle software release is used on the Primary and Standby databases, and Oracle home paths are identical.&lt;br /&gt;&lt;br /&gt;3. Test the Standby Database creation on a test environment first before working on the Production database.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;II. On the Primary Database Side:&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;1. Enable forced logging on your primary database:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt; ALTER DATABASE FORCE LOGGING;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;2. Create a password file if it doesn’t exist.&lt;br /&gt;&lt;br /&gt;i) To check if a password file already exists, run the following command:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt; SELECT * FROM V$PWFILE_USERS;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ii) If it doesn’t exist, use the following command to create one:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;- On Windows:&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;$cd %ORACLE_HOME%&lt;oracle_home&gt;\database &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;$orapwd file=pwdCELL.ora password=***** force=y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(Note: Replace &lt;oracle_home&gt;with the actual Oracle home path, and ***** with the password for the SYS user.)&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;- On UNIX:&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;$cd $ORACLE_HOME/dbs &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;$Orapwd file=pwdCELL.ora password=***** force=y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(Note: Replace ***** with your actual password for the SYS user.)&lt;br /&gt;&lt;br /&gt;3. Configure a Standby Redo log.&lt;br /&gt;&lt;br /&gt;i) The size of the standby redo log files should match the size of the current Primary database online redo log files. To find out the size of your online redo log files:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt; select bytes/1024/1024 MB from v$log;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;MB&lt;br /&gt;----&lt;br /&gt;50&lt;br /&gt;50&lt;br /&gt;50&lt;br /&gt;&lt;br /&gt;ii) Use the following command to determine your current log file groups:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt; select group#, member from v$logfile;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;iii) Create standby Redo log groups.&lt;br /&gt;&lt;br /&gt;My primary database had 3 log file groups originally and I created 3 standby redo log groups using the following commands:&lt;br /&gt;&lt;br /&gt;IF OMF (Oracle Managed Files)&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt;ALTER DATABASE ADD STANDBY LOGFILE GROUP 4 SIZE 50M;&lt;br /&gt;SQL&gt;ALTER DATABASE ADD STANDBY LOGFILE GROUP 5 SIZE 50M;&lt;br /&gt;SQL&gt;ALTER DATABASE ADD STANDBY LOGFILE GROUP 6 SIZE 50M;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If non OMF (Manually managed files)&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;ALTER DATABASE ADD STANDBY LOGFILE GROUP 4 ('C:\oracle\product\10.2.0\oradata\cell\REDO04.LOG') SIZE 50M;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;ALTER DATABASE ADD STANDBY LOGFILE GROUP 5 ('C:\oracle\product\10.2.0\oradata\cell\REDO05.LOG') SIZE 50M;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;ALTER DATABASE ADD STANDBY LOGFILE GROUP 6 ('C:\oracle\product\10.2.0\oradata\cell\REDO06.LOG') SIZE 50M;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4) To verify the results of the standby redo log groups creation, run the following query:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt;select * from v$standby_log;  (or)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt; SELECT GROUP#,DBID,BYTES/1024/1024 MB FROM V$STANDBY_LOG;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;GROUP#     DBID                           MB&lt;br /&gt;---------- ---------------------------&lt;br /&gt;4                   UNASSIGNED           50        &lt;br /&gt;5                   UNASSIGNED           50        &lt;br /&gt;6                   UNASSIGNED           50&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;4. Enable Archiving on Primary.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;If your primary database is not already in Archive Log mode, enable the archive log mode:&lt;br /&gt;SQL&gt;shutdown immediate;&lt;br /&gt;SQL&gt;startup mount;&lt;br /&gt;SQL&gt;alter database archivelog;&lt;br /&gt;SQL&gt;alter database open;&lt;br /&gt;SQL&gt;archive log list;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Database log mode              Archive Mode&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Automatic archival             Enabled&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Archive destination            c:\oracle\product\10.2.0\flash_recovery_area\CELL\ARCHIVELOG&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Oldest online log sequence       92&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Next log sequence to archive   94&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Current log sequence           94&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5. Set Primary Database Initialization Parameters&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Create a text initialization parameter file (PFILE) from the server parameter file (SPFILE), to add the new primary role parameters.&lt;br /&gt;&lt;br /&gt;i) Create pfile from spfile for the primary database:&lt;br /&gt;&lt;br /&gt;- On Windows:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt;create pfile=’c:\pfileCELL.ora’ from spfile; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- On UNIX:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt;create pfile=’&lt;oracle_home&gt;/dbs/pfilePRIM.ora’ from spfile;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ii) Edit this pfile to add the new primary and standby role parameters: (Here the file paths are from a windows system. For UNIX system, specify the path accordingly)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;cell.__db_cache_size=490733568&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;cell.__java_pool_size=4194304&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;cell.__large_pool_size=4194304&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;cell.__shared_pool_size=104857600&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;cell.__streams_pool_size=0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.audit_file_dest='c:\oracle\product\10.2.0\admin\cell\adump'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.background_dump_dest='c:\oracle\product\10.2.0\admin\cell\bdump'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.compatible='10.2.0.1.0'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.control_files='c:\oracle\product\10.2.0\oradata\cell\control01.ctl','c:\oracle\product\10.2.0\oradata\cell\control02.ctl','c:\oracle\product\10.2.0\oradata\cell\control03.ctl'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.core_dump_dest='c:\oracle\product\10.2.0\admin\cell\cdump'*.db_block_size=8192&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.db_cache_size=490733568&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.db_domain=''&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.db_file_multiblock_read_count=16&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.DB_FILE_NAME_CONVERT='c:\oracle\product\10.2.0\oradata\stan','c:\oracle\product\10.2.0\oradata\cell'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.db_name='cell'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.db_recovery_file_dest='c:\oracle\product\10.2.0\flash_recovery_area'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.db_recovery_file_dest_size=2147483648&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.db_unique_name='cell'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.FAL_CLIENT='cell'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.FAL_SERVER='stan'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.java_pool_size=4194304&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.job_queue_processes=10&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.large_pool_size=4194304&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(cell,stan)'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_ARCHIVE_DEST_1='LOCATION=c:\oracle\product\10.2.0\flash_recovery_area\CELL\ARCHIVELOG VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=cell'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_ARCHIVE_DEST_2='SERVICE=stan LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=stan'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_ARCHIVE_DEST_STATE_2='ENABLE'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_ARCHIVE_MAX_PROCESSES=30&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_FILE_NAME_CONVERT='c:\oracle\product\10.2.0\oradata\stan','c:\oracle\product\10.2.0\oradata\cell'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.open_cursors=300&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.pga_aggregate_target=203423744&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.processes=150&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.remote_login_passwordfile='EXCLUSIVE'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.sga_target=612368384&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.shared_pool_size=104857600&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.STANDBY_FILE_MANAGEMENT='AUTO'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.streams_pool_size=0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.undo_management='AUTO'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.undo_tablespace='UNDOTBS1'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.user_dump_dest='c:\oracle\product\10.2.0/admin/cell/udump'&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;(Note: For DB_FILE_NAME_CONVERT -Specify the location of the standby DB datafiles followed by the primary location;&lt;br /&gt;For LOG_FILE_NAME_CONVERT - Specify the location of the standby DB online redo log files followed by the primary location.)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;6. Create spfile from pfile, and restart primary database using the new spfile.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Data Guard must use SPFILE. Create the SPFILE and restart database.&lt;br /&gt;&lt;br /&gt;- On windows:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt; shutdown immediate;&lt;br /&gt;SQL&gt; startup nomount pfile=’c:&lt;oracle_home&gt;\pfileCELL.ora’;&lt;br /&gt;SQL&gt;create spfile from pfile=’c:\pfileCELL.ora’;&lt;br /&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="color:#000000;"&gt;-- Restart the Primary database using the newly created SPFILE. &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;SQL&gt;shutdown immediate;&lt;br /&gt;SQL&gt;Startup;&lt;br /&gt;&lt;/span&gt;(Note- specify your Oracle home path to replace ‘&lt;oracle_home&gt;’).&lt;br /&gt;&lt;br /&gt;- On Unix:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt; shutdown immediate;&lt;br /&gt;SQL&gt; startup nomount pfile=’/u01/app/oraclepfileCELL.ora’;&lt;br /&gt;SQL&gt;create spfile from pfile=’&lt;oracle_home&gt;/u01/app/oracle/pfileCELL.ora’;&lt;br /&gt;&lt;/span&gt;-- Restart the Primary database using the newly created SPFILE.&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt;shutdown immediate;&lt;br /&gt;SQL&gt;Startup;&lt;br /&gt;&lt;/span&gt;(Note- specify your Oracle home path to replace ‘&lt;oracle_home&gt;’).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;On the Standby Database Site:&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;1. Create a copy of Primary database data files on the Standby Server:&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;On Primary DB:&lt;br /&gt;SQL&gt;shutdown immediate;&lt;br /&gt;On Standby Server (While the Primary database is shut down):&lt;br /&gt;i) Create directory for data files, for example, on windows,&lt;br /&gt;c:\oracle\product\10.2.0\oradata\stan&lt;br /&gt;&lt;br /&gt;ii) Copy the data files and temp files over.&lt;br /&gt;&lt;br /&gt;iii) Create directory for online logs, for example, on Windows, c:\oracle\product\10.2.0\oradata\stan&lt;br /&gt;&lt;br /&gt;iv) Copy the online logs over.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. Create a Control File for the standby database:&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;On Primary DB, create a control file for the standby to use:&lt;br /&gt;SQL&gt;startup mount;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt;alter database create standby controlfile as ‘STAN.ctl; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;File will be created in %ORACLE_HOME%\database directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt;ALTER DATABASE OPEN;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. Copy the Primary DB pfile to Standby server and rename/edit the file.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;i) Copy pfileCELL.ora from Primary server to Standby server, to database folder on Windows or dbs folder on UNIX under the Oracle home path.&lt;br /&gt;&lt;br /&gt;ii) Rename it to pfileSTAN.ora, and modify the file as follows. : (Here the file paths are from a windows system. For UNIX system, specify the path accordingly)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;stan.__db_cache_size=490733568&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;stan.__java_pool_size=4194304&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;stan.__large_pool_size=4194304&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;stan.__shared_pool_size=104857600&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;stan.__streams_pool_size=0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.audit_file_dest='c:\oracle\product\10.2.0\admin\stan\adump'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.background_dump_dest='c:\oracle\product\10.2.0\admin\stan\bdump'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.compatible='10.2.0.1.0'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.control_files='c:\oracle\product\10.2.0\oradata\stan\stan.ctl','c:\oracle\stan.ctl'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.core_dump_dest='c:\oracle\product\10.2.0\admin\stan\cdump'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.db_block_size=8192&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.db_cache_size=490733568&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.db_domain=''&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.db_file_multiblock_read_count=16&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.DB_FILE_NAME_CONVERT='c:\oracle\product\10.2.0\oradata\cell','c:\oracle\product\10.2.0\oradata\stan'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.db_name='cell'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.db_recovery_file_dest='c:\oracle\product\10.2.0\flash_recovery_area'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.db_recovery_file_dest_size=2147483648&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.db_unique_name='stan'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.FAL_CLIENT='stan'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.FAL_SERVER='cell'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.java_pool_size=4194304&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.job_queue_processes=10&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.large_pool_size=4194304&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(cell,stan)'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_ARCHIVE_DEST_1='LOCATION=c:\oracle\product\10.2.0\flash_recovery_area\stan\ARCHIVELOG VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=stan'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_ARCHIVE_DEST_2='SERVICE=cell LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=cell'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_ARCHIVE_DEST_STATE_2='ENABLE'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_ARCHIVE_MAX_PROCESSES=30&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.LOG_FILE_NAME_CONVERT='c:\oracle\product\10.2.0\oradata\cell','c:\oracle\product\10.2.0\oradata\stan'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.open_cursors=300&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.pga_aggregate_target=203423744&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.processes=150&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.remote_login_passwordfile='EXCLUSIVE'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.sga_target=612368384&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.shared_pool_size=104857600&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.STANDBY_FILE_MANAGEMENT='AUTO'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.undo_management='AUTO'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.undo_tablespace='UNDOTBS1'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*.user_dump_dest='c:\oracle\product\10.2.0\admin\stan\udump'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4) On Standby server, create all required directories for dump and archived log destination:&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Create directories adump, bdump, cdump, udump, and archived log destinations for the standby database.&lt;br /&gt;&lt;span style="font-size:85%;color:#3366ff;"&gt;'c:\oracle\product\10.2.0\admin\stan\adump'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3366ff;"&gt;'c:\oracle\product\10.2.0\admin\stan\bdump'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3366ff;"&gt;'c:\oracle\product\10.2.0\admin\stan\cdump'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3366ff;"&gt;'c:\oracle\product\10.2.0\admin\stan\udump'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3366ff;"&gt;c:\oracle\product\10.2.0\flash_recovery_area\stan\ARCHIVELOG&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5. Copy the standby control file ‘STAN.ctl’ from primary to standby destinations&lt;br /&gt;&lt;/strong&gt;c:\oracle\STAN.CTL&lt;br /&gt;c:\oracle\product\10.2.0\oradata\stan\STAN.CTL&lt;br /&gt;&lt;br /&gt;6&lt;strong&gt;. Copy the Primary password file to standby and rename it to pwdSTAN.ora.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;On Windows copy it to %ORACLE_HOME%&lt;oracle_home&gt;\database folder, and on UNIX copy it to $ORACLE_HOME&lt;oracle_home&gt;/dbs directory. And then rename the password file.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;7. For Windows, create a Windows-based services (optional):&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;$oradim –NEW –SID STAN –STARTMODE manual&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;8. Configure listeners for the primary and standby databases. &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;i) On Primary system:&lt;br /&gt;use Oracle Net Manager to configure a listener for PRIM and STAN services.&lt;br /&gt;Then restart the listener.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;$lsnrctl stop&lt;br /&gt;$lsnrctl start &lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#000000;"&gt;Content of LISTENER.ORA file on PRIMARY Server is,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:78%;"&gt;# listener.ora Network Configuration File: c:\oracle\product\10.2.0\db_1\network\admin\listener.ora&lt;br /&gt;# Generated by Oracle configuration tools.&lt;br /&gt;SID_LIST_LISTENER =&lt;br /&gt;(SID_LIST =&lt;br /&gt;(SID_DESC =&lt;br /&gt;(SID_NAME = PLSExtProc)&lt;br /&gt;(ORACLE_HOME = c:\oracle\product\10.2.0\db_1)&lt;br /&gt;(PROGRAM = extproc)&lt;br /&gt;)&lt;br /&gt;)&lt;br /&gt;LISTENER =&lt;br /&gt;(DESCRIPTION_LIST =&lt;br /&gt;(DESCRIPTION =&lt;br /&gt;(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))&lt;br /&gt;(ADDRESS = (PROTOCOL = TCP)(HOST = AbdulsamiPC.qic.local)(PORT = 1521))&lt;br /&gt;)&lt;br /&gt;)&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;ii) On Standby server: use Net Manager to configure a listener for PRIM and STAN services. Then restart the listener. &lt;/p&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;$lsnrctl stop&lt;br /&gt;$lsnrctl start&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;9. Create Oracle Net service names.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;i) On Primary system: use Oracle Net Manager to create network service names for PRIM and STAN.&lt;br /&gt;Check tnsping to both services:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;$tnsping PRIM&lt;br /&gt;$tnsping STAN&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;ii) On Standby system: use Oracle Net Manager to create network service names for PRIM and STAN.&lt;br /&gt;Check tnsping to both services:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;$tnsping PRIM&lt;br /&gt;$tnsping STAN&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Content of TNSNAMES.ORA File on both PRIMARY and STANDBY Server is,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora&lt;br /&gt;# Generated by Oracle configuration tools.&lt;br /&gt;CELL =&lt;br /&gt;(DESCRIPTION =&lt;br /&gt;(ADDRESS_LIST =&lt;br /&gt;(ADDRESS = (PROTOCOL = TCP)(HOST = abdulsamipc)(PORT = 1521))&lt;br /&gt;)&lt;br /&gt;(CONNECT_DATA =&lt;br /&gt;(SERVICE_NAME = cell)&lt;br /&gt;)&lt;br /&gt;)&lt;br /&gt;STAN =&lt;br /&gt;(DESCRIPTION =&lt;br /&gt;(ADDRESS_LIST =&lt;br /&gt;(ADDRESS = (PROTOCOL = TCP)(HOST = asamipc)(PORT = 1521))&lt;br /&gt;)&lt;br /&gt;(CONNECT_DATA =&lt;br /&gt;(SERVICE_NAME = stan)&lt;br /&gt;)&lt;br /&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;10. On Standby server, setup the environment variables to point to the Standby database.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Set up ORACLE_HOME and ORACLE_SID.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;11. Start up nomount the standby database and generate a spfile.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;- On Windows:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt;startup nomount pfile=’c:\pfileSTAN.ora’;&lt;br /&gt;SQL&gt;create spfile from pfile=’c:\pfileSTAN.ora’; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-- Restart the Standby database using the newly created SPFILE.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt;shutdown immediate;&lt;br /&gt;SQL&gt;startup mount; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- On Unix:&lt;br /&gt;SQL&gt;startup nomount pfile=’$ORACLE_HOME&lt;oracle_home&gt;/dbs/pfileSTAN.ora’;&lt;br /&gt;SQL&gt;create spfile from pfile=’$ORACLE_HOME&lt;oracle_home&gt;/dbs/pfileSTAN.ora’;&lt;br /&gt;-- Restart the Standby database using the newly created SPFILE.&lt;br /&gt;SQL&gt;shutdown immediate;&lt;br /&gt;SQL&gt;startup mount;&lt;br /&gt;(Note- specify your Oracle home path to replace ‘&lt;oracle_home&gt;’).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;12. Start Redo apply&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;i) On the standby database, to start redo apply:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt;alter database recover managed standby database disconnect from session;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;If you ever need to stop log apply services:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt; alter database recover managed standby database cancel;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;13. Verify the standby database is performing properly:&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;i) On Standby perform a query:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt;select sequence#, first_time, next_time from v$archived_log;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;ii) On Primary, force a logfile switch:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt;alter system switch logfile;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;iii)  On Standby, verify the archived redo log files were applied:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt;select sequence#, applied from v$archived_log order by sequence#;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;14. If you want the redo data to be applied as it is received without waiting for the current standby redo log file to be archived, enable the real-time apply.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;To start real-time apply:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SQL&gt; alter database recover managed standby database using current logfile disconnect;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1&lt;strong&gt;5. To create multiple standby databases, repeat this procedure. &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:180%;"&gt;Maintenance: &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;1. Check the alert log files of Primary and Standby databases frequently to monitor the database operations in a Data Guard environment. &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. Cleanup the archive logs on Primary and Standby servers. &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;I scheduled weekly Hot Whole database backup against my primary database that also backs up and delete the archived logs on Primary.&lt;br /&gt;&lt;br /&gt;For the standby database, I run RMAN to backup and delete the archive logs once per week.&lt;br /&gt;&lt;br /&gt;$rman target &lt;a href="mailto:"&gt;'&lt;a href="mailto:"&gt;sys/*****&lt;password&gt;@STAN&lt;/a&gt;'&lt;/a&gt;;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Rman&gt;backup archivelog all delete input;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;3. Password management &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;The password for the SYS user must be identical on every system for the redo data transmission to succeed. If you change the password for SYS on Primary database, you will have to update the password file for Standby database accordingly, otherwise the logs won’t be shipped to the standby server. If the password files are not in sync then update/recreate password file for the Standby database.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Reference:&lt;/strong&gt;&lt;br /&gt;Oracle Data Guard Concepts and Administration 10g Release 2 (10.2), B14239-04&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For any queries please don't hesitate to contact me, Sami Malik (&lt;a href="mailto:samiora@gmail.com"&gt;samiora@gmail.com&lt;/a&gt;)&lt;br /&gt;[Senior Oracle Applicaitons DBA at Government Sector in Middle East]&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;strong&gt;Cell: 0097433164959&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-5958558908663004173?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/5958558908663004173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=5958558908663004173' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/5958558908663004173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/5958558908663004173'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2010/10/physical-standb-database-using.html' title='Physical Standby database using Dataguard'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-6416114248066365230</id><published>2010-09-29T02:54:00.000-07:00</published><updated>2010-09-29T04:04:27.080-07:00</updated><title type='text'>Disaster Recovery Project Guidelines</title><content type='html'>Kickoff for Disaster Recovery project is tomorrow (30Sept2010). I will be very busy during this project as we are preparing the DR for all the business critical applications at the local DR site in the same country-Qa. While from January2011 we will be implementing another DR site in Europe. I will keep this blog updated with the updates on the DR project that we are starting tomorrow. Please wish me good luck and thanks for all your support and for visiting this blog. For any queries please don't hesitate to contact me on my email &lt;a href="mailto:masamimalik@yahoo.com"&gt;masamimalik@yahoo.com&lt;/a&gt;, &lt;a href="mailto:samiora@gmail.com"&gt;samiora@gmail.com&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Disaster recovery is becoming increasingly important for businesses aware of the threat of both man-made and natural disasters. Having a disaster recovery plan will not only protect organization’s essential data from destruction, it will help refine business processes and enable business to recover its operations in the event of a disaster. Though each organization has unique knowledge and assets to maintain, general principles can be applied to disaster recovery. This set of planning guidelines can assist organization in moving forward with an IT disaster recovery project.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Accountability and endorsement&lt;/strong&gt;&lt;br /&gt;A key factor in the success of your disaster recovery plan will be holding someone on the executive management team accountable. It could be the CIO, CTO, COO, or, if your company is small, the IT director. Whether this person manages the disaster recovery preparations or delegates them to someone else, it will be necessary for the entire organization to know that the disaster recovery preparations are deemed essential by executive management in order to obtain the cooperation you’ll need from all the staff involved. Without endorsement from higher management, collecting all the information you’ll need to make the disaster recovery project a success will be much more difficult. Even if the disaster recovery project is managed by someone who has had the task delegated, upper management needs to convey to the entire organization the importance and essentiality of the project.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Identify and organize your data&lt;/strong&gt;&lt;br /&gt;One of the first steps in putting together a disaster recovery plan is to identify your mission-critical data. Doing so will help you understand what data you need to back up for off-site storage. It will also prompt you to document why you need this data and plan how to put it back where it belongs in the event of a recovery operation.&lt;br /&gt;&lt;br /&gt;Next, instruct your users to assist you in organizing the data in intuitive directories on a central server. Even if you plan to just back up everything, knowing which files are where is a key part of the recovery process. If, for example, when disaster strikes you have customer data spread all over your network on different users' hard drives, finding the data will not be easy. Restoring all the data from backup media is only half the battle. Once the data is restored, you don't want to be walking around the office saying, "Does anyone know where we keep the XYZ contract?" The data must be organized before you back it up.&lt;br /&gt;&lt;br /&gt;Some data types that you should take into consideration for organization on a central repository are as follows:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Key customer files&lt;/strong&gt;: contracts, agreements, contact information, proposals&lt;br /&gt;&lt;strong&gt;User login data:&lt;/strong&gt; profiles, UNIX .dot files, Config.sys files, Autoexec.bat files&lt;br /&gt;&lt;strong&gt;Network infrastructure files:&lt;/strong&gt; DNS, WINS, DHCP, router tables&lt;br /&gt;User directories&lt;br /&gt;&lt;strong&gt;Application data:&lt;/strong&gt; databases, Web site files&lt;br /&gt;&lt;strong&gt;Security configuration files:&lt;/strong&gt; ACLs, firewall rules, IDS configuration files, UNIX password/shadow files, Microsoft Windows SAM database, VPN configuration files, RADIUS configuration files&lt;br /&gt;&lt;strong&gt;Messaging files:&lt;/strong&gt; key configuration files, user mailboxes, system accounts&lt;br /&gt;&lt;strong&gt;Engineer files:&lt;/strong&gt; source code, release engineering code&lt;br /&gt;&lt;strong&gt;Financial and company files:&lt;/strong&gt; general ledger, insurance policies, accounts payable and accounts receivable files, incorporation registration, employee resource planning (ERP) data&lt;br /&gt;License files for applications&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Asset inventory&lt;/strong&gt;&lt;br /&gt;Aside from the data itself, your company needs to have an up-to-date hardware and software asset inventory list on hand at all times. The hardware list should include the equipment make, model, and serial number, and a description of what each particular piece of equipment is being used for. The software inventory should be similar, with the vendor name, version number, patch number, license information, and what the software is being used for. The information for each piece of equipment and software on the list should be mapped to the corresponding devices on the company network map. Be sure to include all cables and connectors, as well as peripheral devices such as printers, fax machines, and scanners.You might want to submit the asset inventory list to your insurance company once a year.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Restoration and recovery procedures&lt;/strong&gt;&lt;br /&gt;Imagine that a disaster has occurred. You have the data, now what should you do with it? If you don’t have any restoration and recovery procedures, your data won’t be nearly as useful to you. With the data in hand, you need to be able to re-create your entire business from brand-new systems. You’re going to need procedures for rebuilding systems and networks. System recovery and restoration procedures are typically best written by the people that currently administer and maintain the systems. Each system should have recovery procedures that indicate which versions of software and patches should be installed on which types of hardware platforms. It's also important to indicate which configuration files should be restored into which directories. A good procedure will include low-level file execution instructions, such as what commands to type and in what order to type them.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Document decision-making processes&lt;/strong&gt;&lt;br /&gt;Recovering your data, systems, and networks is one thing, but when you lose staff, recovering the knowledge they held is quite different. You will never be able to recover that knowledge completely. However, you can mitigate this loss by documenting decision-making processes in flowcharts. To do this, have each of your staff identify decisions that they make and then create flowcharts for their thought processes. Sample decisions could be:&lt;br /&gt;How much do you charge for a new service?&lt;br /&gt;How do you know if taking on a particular new project is worth the return?&lt;br /&gt;How do you evaluate new business?&lt;br /&gt;How do you decide whom you should partner with?&lt;br /&gt;How do you decide who your sales prospects are?&lt;br /&gt;How do you decide who your suppliers are?&lt;br /&gt;When a call comes in to your help desk, how does it get routed?&lt;br /&gt;What are your QA procedures for your product?&lt;br /&gt;&lt;br /&gt;It's impossible to document every decision your staff is capable of making. To get started, don't ask your staff to document every possible decision-making scenario. Ask them to document the three most important decision-making processes that they use on a consistent basis. You can add new processes to your disaster recovery plan in the future, and you may want to have employees write three new decision-making flowcharts each year at the time of their annual reviews.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Backups are key&lt;/strong&gt;&lt;br /&gt;As an IT or network administrator, you need to bring all your key data, processes, and procedures together through a backup system that is reliable and easy to replicate. Your IT director's most important job is to ensure that all systems are being backed up on a reliable schedule. This process, though it seems obvious, is often not realized. Assigning backup responsibilities to an administrator is not enough. The IT department needs to have a written schedule that describes which systems get backed up when and whether the backups are full or incremental. You also need to have the backup process fully documented. Finally, test your backup process to make sure it works. Can you restore lost databases? Can you restore lost source code? Can you restore key system files?Finally, you need to store your backup media off-site, preferably in a location at least 50 miles from your present office. Numerous off-site storage vendors offer safe media storage.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Disaster strikes&lt;/strong&gt;&lt;br /&gt;Let’s say for a moment that the worst occurs and your business is devastated by a disaster, to the point where you need to rebuild your business from scratch. Here are some of the key steps you should take to recover your operations:&lt;br /&gt;1. Notify your insurance company immediately.&lt;br /&gt;2. Identify a recovery site where you will bring your business back up.&lt;br /&gt;3. Obtain your asset inventory list and reorder all lost items.&lt;br /&gt;4. Distribute a network map and asset inventory list to your recovery team.&lt;br /&gt;5. As the new hardware comes in, have your recovery team connect the pieces.&lt;br /&gt;6. Restore your network infrastructure servers first (DNS, routers, etc.).&lt;br /&gt;7. Restore your application servers second.&lt;br /&gt;8. Restore your user data third.&lt;br /&gt;9. Perform any necessary configuration tweaks according to your guidelines.&lt;br /&gt;10. Test all applications for functionality.&lt;br /&gt;11. Test all user logins.&lt;br /&gt;12. Put a notice on your Web site stating that your business was affected by a disaster.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Summary recommendations&lt;/strong&gt;&lt;br /&gt;It’s likely that in the event of a real disaster, not everything will be recoverable. Your goal should be to recover enough data, processes, and procedures so that your business can be up and running as quickly as possible, once you’re in a new office.Testing your plan is key to ensuring its success. A good way to test your plan is in a lab setting. With uninstalled systems that aren’t connected to the network, see how fast you can install your systems, configure them, and restore essential data. The best test is to use a recovery staff other than the everyday staff that uses and administers the systems. By using staff that aren’t familiar with everyday usage of your systems and applications, you’ll uncover deficiencies in the processes and procedures you’ve documented. Time your recovery scenario and see if you can improve the time it takes for recovery each time you hold a practice drill.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br /&gt;A disaster recovery plan is essential to your company’s long-term success. Even if you never have to use the plan, the process of putting it together will by its very nature increase the security of your assets and improve your overall business efficiency. The preparation of a disaster recovery plan will teach you what data is important and will necessitate that you understand how your business works from a decision-making standpoint. Disaster recovery can be more easily achieved if you follow this simple outline:&lt;br /&gt;&gt;Hold someone accountable for disaster recovery.&lt;br /&gt;&gt;Identify mission-critical data.&lt;br /&gt;&gt;Organize data on a central repository.&lt;br /&gt;&gt;Create procedures for recovering mission-critical servers.&lt;br /&gt;&gt;Create knowledge-based decision-making flowcharts.&lt;br /&gt;&gt;Back up your data on a regular schedule.&lt;br /&gt;&gt;Store your data off-site.&lt;br /&gt;&gt;Test your recovery plan.&lt;br /&gt;&lt;br /&gt;For &lt;span style="color:#ff0000;"&gt;'Download these guidelines for developing a disaster recovery plan'&lt;/span&gt; and more go to the following link,&lt;br /&gt;&lt;a href="http://articles.techrepublic.com.com/5100-10878_11-1060886.html?tag=rbxccnbtr1"&gt;http://articles.techrepublic.com.com/5100-10878_11-1060886.html?tag=rbxccnbtr1&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-6416114248066365230?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/6416114248066365230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=6416114248066365230' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/6416114248066365230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/6416114248066365230'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2010/09/disaster-recovery-project-guidelines.html' title='Disaster Recovery Project Guidelines'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-6172656630755581296</id><published>2010-08-30T01:30:00.001-07:00</published><updated>2010-08-30T01:33:23.234-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>Discoverer 11g certified on new platforms</title><content type='html'>Oracle Business Intelligence Discoverer is an ad-hoc query, reporting, analysis, and Web-publishing tool that allows end-users to work directly with Oracle E-Business Suite OLTP data. &lt;br /&gt;&lt;br /&gt;Oracle has certified Discoverer 11g version 11.1.1.3 (Patchset 2) with the E-Business Suite on six platforms.  Those certifications included Oracle Enterprise Linux, Red Hat Enterprise Linux, and SUSE Linux Enterprise Server.&lt;br /&gt;&lt;br /&gt;As a follow-on to that original certification announcement, Oracle Fusion Middleware 11g Release 1 Discoverer version 11.1.1.3 is now certified with Oracle E-Business Suite Release 11i and R12 (12.0.x, 12.1.x) on a dozen additional platforms.&lt;br /&gt;&lt;br /&gt;New platforms certified for EBS 11i&lt;br /&gt;&lt;br /&gt;    * HP-UX PA-RISC (64-bit) (11.23, 11.31)&lt;br /&gt;    * IBM AIX on Power Systems (64-bit) (5.3, 6.1)&lt;br /&gt;    * Microsoft Windows Server (32-bit) (2003)&lt;br /&gt;    * Oracle Solaris on SPARC (64-bit) (9, 10) &lt;br /&gt;&lt;br /&gt;New platforms certified for EBS 12.0.x and 12.1.x&lt;br /&gt;&lt;br /&gt;    * Linux x86-64 (Oracle Enterprise Linux 4, 5)&lt;br /&gt;    * Linux x86-64 (RHEL 4, 5)&lt;br /&gt;    * Linux x86-64 (SLES 10)&lt;br /&gt;    * HP-UX Itanium (11.23, 11.31)&lt;br /&gt;    * HP-UX PA-RISC (64-bit) (11.23, 11.31)&lt;br /&gt;    * IBM AIX on Power Systems (64-bit) (5.3, 6.1)&lt;br /&gt;    * Microsoft Windows Server (32-bit) (2003, 2008)&lt;br /&gt;    * Oracle Solaris on SPARC (64-bit) (9, 10)&lt;br /&gt;&lt;br /&gt;References&lt;br /&gt;&lt;br /&gt;    * Using Discoverer 11.1.1 with Oracle E-Business Suite Release 12 (Note 1074326.1)&lt;br /&gt;    * Using Discoverer 11.1.1 with Oracle E-Business Suite Release 11i (Note 1073963.1)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-6172656630755581296?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/6172656630755581296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=6172656630755581296' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/6172656630755581296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/6172656630755581296'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2010/08/discoverer-11g-certified-on-12-new.html' title='Discoverer 11g certified on new platforms'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-988160596457071818</id><published>2010-07-07T03:43:00.000-07:00</published><updated>2010-07-07T04:40:21.336-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Redhat Linux'/><title type='text'>Linux Cron job examples</title><content type='html'>MIN HOUR DOM MON DOW CMD &gt; /tmp/output.log&lt;br /&gt;&lt;br /&gt;Crontab Fields and Allowed Ranges (Linux Crontab Syntax) &lt;br /&gt;&lt;br /&gt;Field  Description   AllowedValue &lt;br /&gt;MIN    Minute field  0 to 59 &lt;br /&gt;HOUR   Hour field    0 to 23 &lt;br /&gt;DOM    Day of Month  1-31 &lt;br /&gt;MON    Month field   1-12 &lt;br /&gt;DOW    Day Of Week   0-6 &lt;br /&gt;CMD    Command Any command to be executed &lt;br /&gt;&lt;br /&gt;/tmp/output.log is the command output log file.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. Scheduling a Job For a Specific Time Every Day&lt;/strong&gt;&lt;br /&gt;The basic usage of cron is to execute a job in a specific time as shown below. This will execute the Full backup shell script (full-backup) on 10th June 08:30 AM.&lt;br /&gt;&lt;br /&gt;Please note that the time field uses 24 hours format. So, for 8 AM use 8, and for 8 PM use 20.&lt;br /&gt;&lt;br /&gt;30 08 10 06 * /home/samimalik/full-backup30 – 30th Minute &lt;br /&gt;08 – 08 AM &lt;br /&gt;10 – 10th Day &lt;br /&gt;06 – 6th Month (June) &lt;br /&gt;* – Every day of the week &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. Schedule a Job For More Than One Instance (e.g. Twice a Day)&lt;/strong&gt;The following script take a incremental backup twice a day every day.&lt;br /&gt;&lt;br /&gt;This example executes the specified incremental backup shell script (incremental-backup) at 11:00 and 16:00 on every day. The comma separated value in a field specifies that the command needs to be executed in all the mentioned time.&lt;br /&gt;&lt;br /&gt;00 11,16 * * * /home/samimalik/bin/incremental-backup00 – 0th Minute (Top of the hour) &lt;br /&gt;11,16 – 11 AM and 4 PM &lt;br /&gt;* – Every day &lt;br /&gt;* – Every month &lt;br /&gt;* – Every day of the week &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. Schedule a Job for Specific Range of Time (e.g. Only on Weekdays)&lt;/strong&gt;&lt;br /&gt;If you wanted a job to be scheduled for every hour with in a specific range of time then use the following.&lt;br /&gt;&lt;br /&gt;Cron Job everyday during working hours&lt;br /&gt;This example checks the status of the database everyday (including weekends) during the working hours 9 a.m – 6 p.m&lt;br /&gt;&lt;br /&gt;00 09-18 * * * /home/samimalik/bin/check-db-status00 – 0th Minute (Top of the hour) &lt;br /&gt;09-18 – 9 am, 10 am,11 am, 12 am, 1 pm, 2 pm, 3 pm, 4 pm, 5 pm, 6 pm &lt;br /&gt;* – Every day &lt;br /&gt;* – Every month &lt;br /&gt;* – Every day of the week &lt;br /&gt;Cron Job every weekday during working hours&lt;br /&gt;This example checks the status of the database every weekday (i.e excluding Sat and Sun) during the working hours 9 a.m – 6 p.m.&lt;br /&gt;&lt;br /&gt;00 09-18 * * 1-5 /home/samimalik/bin/check-db-status00 – 0th Minute (Top of the hour) &lt;br /&gt;09-18 – 9 am, 10 am,11 am, 12 am, 1 pm, 2 pm, 3 pm, 4 pm, 5 pm, 6 pm &lt;br /&gt;* – Every day &lt;br /&gt;* – Every month &lt;br /&gt;1-5 -Mon, Tue, Wed, Thu and Fri (Every Weekday) &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4. How to View Crontab Entries?&lt;/strong&gt;&lt;br /&gt;View Current Logged-In User’s Crontab entries&lt;br /&gt;To view your crontab entries type crontab -l from your unix account as shown below.&lt;br /&gt;&lt;br /&gt;samimalik@dev-db$ crontab -l&lt;br /&gt;@yearly /home/samimalik/annual-maintenance&lt;br /&gt;*/10 * * * * /home/samimalik/check-disk-space&lt;br /&gt;&lt;br /&gt;[Note: This displays crontab of the current logged in user]&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;View Root Crontab entries&lt;/strong&gt;&lt;br /&gt;Login as root user (su – root) and do crontab -l as shown below.&lt;br /&gt;&lt;br /&gt;root@dev-db# crontab -l&lt;br /&gt;&lt;br /&gt;no crontab for rootCrontab HowTo: View Other Linux User’s Crontabs entries&lt;br /&gt;To view crontab entries of other Linux users, login to root and use -u {username} -l as shown below.&lt;br /&gt;&lt;br /&gt;root@dev-db# crontab -u sathiya -l&lt;br /&gt;@monthly /home/sathiya/monthly-backup&lt;br /&gt;00 09-18 * * * /home/sathiya/check-db-status&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5. How to Edit Crontab Entries?&lt;/strong&gt;&lt;br /&gt;Edit Current Logged-In User’s Crontab entries&lt;br /&gt;To edit a crontab entries, use crontab -e as shown below. By default this will edit the current logged-in users crontab.&lt;br /&gt;&lt;br /&gt;samimalik@dev-db$ crontab -e&lt;br /&gt;@yearly /home/samimalik/centos/bin/annual-maintenance&lt;br /&gt;*/10 * * * * /home/samimalik/debian/bin/check-disk-space&lt;br /&gt;~&lt;br /&gt;"/tmp/crontab.XXXXyjWkHw" 2L, 83C&lt;br /&gt;&lt;br /&gt;[Note: This will open the crontab file in Vim editor for editing.&lt;br /&gt;Please note cron created a temporary /tmp/crontab.XX... ]When you save the above temporary file with :wq, it will save the crontab and display the following message indicating the crontab is successfully modified.&lt;br /&gt;&lt;br /&gt;~&lt;br /&gt;"crontab.XXXXyjWkHw" 2L, 83C written&lt;br /&gt;crontab: installing new crontabEdit Root Crontab entries&lt;br /&gt;Login as root user (su – root) and do crontab -e as shown below.&lt;br /&gt;&lt;br /&gt;root@dev-db# crontab -eEdit Other Linux User’s Crontab File entries&lt;br /&gt;To edit crontab entries of other Linux users, login to root and use -u {username} -e as shown below.&lt;br /&gt;&lt;br /&gt;root@dev-db# crontab -u sathiya -e&lt;br /&gt;@monthly /home/sathiya/fedora/bin/monthly-backup&lt;br /&gt;00 09-18 * * * /home/sathiya/ubuntu/bin/check-db-status&lt;br /&gt;~&lt;br /&gt;~&lt;br /&gt;~&lt;br /&gt;"/tmp/crontab.XXXXyjWkHw" 2L, 83C&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;6. Schedule a Job for Every Minute Using Cron.&lt;/strong&gt;&lt;br /&gt;Ideally you may not have a requirement to schedule a job every minute. But understanding this example will will help you understand the other examples mentioned below in this article.&lt;br /&gt;&lt;br /&gt;* * * * * CMDThe * means all the possible unit — i.e every minute of every hour through out the year. More than using this * directly, you will find it very useful in the following cases.&lt;br /&gt;&lt;br /&gt;When you specify */5 in minute field means every 5 minutes. &lt;br /&gt;When you specify 0-10/2 in minute field mean every 2 minutes in the first 10 minute. &lt;br /&gt;Thus the above convention can be used for all the other 4 fields. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;7. Schedule a Background Cron Job For Every 10 Minutes.&lt;/strong&gt;&lt;br /&gt;Use the following, if you want to check the disk space every 10 minutes.&lt;br /&gt;&lt;br /&gt;*/10 * * * * /home/samimalik/check-disk-spaceIt executes the specified command check-disk-space every 10 minutes through out the year. But you may have a requirement of executing the command only during office hours or vice versa. The above examples shows how to do those things.&lt;br /&gt;&lt;br /&gt;Instead of specifying values in the 5 fields, we can specify it using a single keyword as mentioned below.&lt;br /&gt;&lt;br /&gt;There are special cases in which instead of the above 5 fields you can use @ followed by a keyword — such as reboot, midnight, yearly, hourly.&lt;br /&gt;&lt;br /&gt;Table: Cron special keywords and its meaning Keyword Equivalent &lt;br /&gt;@yearly 0 0 1 1 * &lt;br /&gt;@daily 0 0 * * * &lt;br /&gt;@hourly 0 * * * * &lt;br /&gt;@reboot Run at startup. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;8. Schedule a Job For First Minute of Every Year using @yearly&lt;/strong&gt;&lt;br /&gt;If you want a job to be executed on the first minute of every year, then you can use the @yearly cron keyword as shown below.&lt;br /&gt;&lt;br /&gt;This will execute the system annual maintenance using annual-maintenance shell script at 00:00 on Jan 1st for every year.&lt;br /&gt;&lt;br /&gt;@yearly /home/samimalik/red-hat/bin/annual-maintenance&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;9. Schedule a Cron Job Beginning of Every Month using @monthly&lt;/strong&gt;&lt;br /&gt;It is as similar as the @yearly as above. But executes the command monthly once using @monthly cron keyword.&lt;br /&gt;&lt;br /&gt;This will execute the shell script tape-backup at 00:00 on 1st of every month.&lt;br /&gt;&lt;br /&gt;@monthly /home/samimalik/suse/bin/tape-backup&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;10. Schedule a Background Job Every Day using @daily&lt;/strong&gt;&lt;br /&gt;Using the @daily cron keyword, this will do a daily log file cleanup using cleanup-logs shell scriptat 00:00 on every day.&lt;br /&gt;&lt;br /&gt;@daily /home/samimalik/arch-linux/bin/cleanup-logs "day started"&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;11. How to Execute a Linux Command After Every Reboot using @reboot?&lt;/strong&gt;&lt;br /&gt;Using the @reboot cron keyword, this will execute the specified command once after the machine got booted every time.&lt;br /&gt;&lt;br /&gt;@reboot CMD&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;12. How to Disable/Redirect the Crontab Mail Output using MAIL keyword?&lt;/strong&gt;&lt;br /&gt;By default crontab sends the job output to the user who scheduled the job. If you want to redirect the output to a specific user, add or update the MAIL variable in the crontab as shown below.&lt;br /&gt;&lt;br /&gt;samimalik@dev-db$ crontab -l&lt;br /&gt;MAIL="samimalik"&lt;br /&gt;&lt;br /&gt;@yearly /home/samimalik/annual-maintenance&lt;br /&gt;*/10 * * * * /home/samimalik/check-disk-space&lt;br /&gt;&lt;br /&gt;[Note: Crontab of the current logged in user with MAIL variable]&lt;br /&gt;If you wanted the mail not to be sent to anywhere, i.e to stop the crontab output to be emailed, add or update the MAIL variable in the crontab as shown below.&lt;br /&gt;&lt;br /&gt;MAIL=""&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;13. How to Execute a Linux Cron Jobs Every Second Using Crontab.&lt;/strong&gt;&lt;br /&gt;You cannot schedule a every-second cronjob. Because in cron the minimum unit you can specify is minute. In a typical scenario, there is no reason for most of us to run any job every second in the system.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;14. Specify PATH Variable in the Crontab&lt;/strong&gt;&lt;br /&gt;All the above examples we specified absolute path of the Linux command or the shell-script that needs to be executed.&lt;br /&gt;&lt;br /&gt;For example, instead of specifying /home/samimalik/tape-backup, if you want to just specify tape-backup, then add the path /home/samimalik to the PATH variable in the crontab as shown below.&lt;br /&gt;&lt;br /&gt;samimalik@dev-db$ crontab -l&lt;br /&gt;&lt;br /&gt;PATH=/bin:/sbin:/usr/bin:/usr/sbin:/home/samimalik&lt;br /&gt;&lt;br /&gt;@yearly annual-maintenance&lt;br /&gt;*/10 * * * * check-disk-space&lt;br /&gt;&lt;br /&gt;[Note: Crontab of the current logged in user with PATH variable]15. Installing Crontab From a Cron File&lt;br /&gt;Instead of directly editing the crontab file, you can also add all the entries to a cron-file first. Once you have all thoese entries in the file, you can upload or install them to the cron as shown below.&lt;br /&gt;&lt;br /&gt;samimalik@dev-db$ crontab -l&lt;br /&gt;no crontab for samimalik&lt;br /&gt;&lt;br /&gt;$ cat cron-file.txt&lt;br /&gt;@yearly /home/samimalik/annual-maintenance&lt;br /&gt;*/10 * * * * /home/samimalik/check-disk-space&lt;br /&gt;&lt;br /&gt;samimalik@dev-db$ crontab cron-file.txt&lt;br /&gt;&lt;br /&gt;samimalik@dev-db$ crontab -l&lt;br /&gt;@yearly /home/samimalik/annual-maintenance&lt;br /&gt;*/10 * * * * /home/samimalik/check-disk-spaceNote: This will install the cron-file.txt to your crontab, which will also remove your old cron entries. So, please be careful while uploading cron entries from a cron-file.txt.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-988160596457071818?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/988160596457071818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=988160596457071818' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/988160596457071818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/988160596457071818'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2010/07/linux-cron-job-examples.html' title='Linux Cron job examples'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-7638490692779712420</id><published>2010-06-21T01:24:00.000-07:00</published><updated>2010-08-30T01:34:29.386-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>Upgrade steps from 11i to r12 with db 11g - rough</title><content type='html'>Hi Folks, Last month I was busy in upgrade project. Upgrade EBS 11i (11.5.10.2) to release 12 (12.1.1) with 64bit oracle 11g (11.1.0.7) database. The following were the steps that were performed. The steps are just a rough run but if you want to see the exact phases and tasks then please refer to my earlier post 'Tasks and Phases to Upgrade Oracle Applications 11i to r12 (12.1.1)'. For any queries please email me at masamimalik@yahoo.com or call me on my cell 0097433164959.&lt;br /&gt;&lt;br /&gt;Also refer to the oracle material from the following link that gives the details on how to upgrade.&lt;br /&gt;&lt;br /&gt;http://download.oracle.com/docs/cd/B53825_05/current/acrobat/121upgrade.pdf&lt;br /&gt;&lt;br /&gt;1) clone the apps tier and the db tier from PROD to TEST (perform this on TEST DB)&lt;br /&gt;&lt;br /&gt;2) Apply the ATG RUP 6&lt;br /&gt;Apply these patches on 11.5.10.2 using 9i database&lt;br /&gt;4252319 - 06:48 PM - 06:50 (total 2 min)&lt;br /&gt;5903765 - 06:52 PM - 08:30 PM&lt;br /&gt;starts with 315 jobs &lt;br /&gt;there will be 14000 invali objects &lt;br /&gt;while running autoconfig , there were file locks .. so press ctrl +c and then reboot the server + then restart the adpatch session &lt;br /&gt;5903765_AR&lt;br /&gt;4583125&lt;br /&gt;7705743&lt;br /&gt;before upgrade and running the utlu111i.sql copy the timezone files from the patch or from the oacore directory of any existing 9.2.0 oracle home under f:&lt;br /&gt;3)Upgrade the database to 11gR1 on the same TEST DB server&lt;br /&gt;4)convert to multiorg&lt;br /&gt;5) Install the filesystem pointing to the same driver&lt;br /&gt;6) Apply these patches &lt;br /&gt;   6767273&lt;br /&gt;   7461070&lt;br /&gt;7) The upgrade American english driver patch starts with 119322 jobs&lt;br /&gt;&lt;br /&gt;workers will fail at&lt;br /&gt;&lt;br /&gt; Time is: Sat May 15 2010 02:36:41&lt;br /&gt;&lt;br /&gt;1) There are now 119259 jobs remaining (current phase=A0):&lt;br /&gt;    4 running, 60 ready to run and 119195 waiting.&lt;br /&gt;&lt;br /&gt;   FAILED: file funmochk.sql on worker  2 for product fun username FUN&lt;br /&gt;&lt;br /&gt;Reason:&lt;br /&gt;&lt;br /&gt;sqlplus -s APPS/***** @F:\R12\apps\apps_st\appl\fun\12.0.0\patch\115\sql\funmochk.sql &lt;br /&gt;&lt;br /&gt;Error:&lt;br /&gt;Program exited with status 1&lt;br /&gt;&lt;br /&gt;Cause: The program terminated, returning status code 1.&lt;br /&gt;&lt;br /&gt;Action: Check your installation manual for the meaning of this code on this operating system.DECLARE&lt;br /&gt;*&lt;br /&gt;ERROR at line 1:&lt;br /&gt;ORA-20000: Multi-Org architecture is not enabled. Please convert the target&lt;br /&gt;instance to enable Multi-Org before upgrading to Release 12&lt;br /&gt;ORA-06512: at line 19&lt;br /&gt;&lt;br /&gt;Solution - enable multiorg&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) Time is: Mon May 17 2010 12:08:34&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are now 38169 jobs remaining (current phase=A144):&lt;br /&gt;    0 running, 0 ready to run and 38169 waiting.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ATTENTION: All workers either have failed or are waiting:&lt;br /&gt;&lt;br /&gt;    FAILED: file MSDODPCODE.sql on worker  1.&lt;br /&gt;&lt;br /&gt;sqlplus -s APPS/***** @F:\R12\apps\apps_st\appl\msd\12.0.0\patch\115\sql\MSDODPCODE.sql &lt;br /&gt;&lt;br /&gt;Error:&lt;br /&gt;Program exited with status 1&lt;br /&gt;&lt;br /&gt;Cause: The program terminated, returning status code 1.&lt;br /&gt;&lt;br /&gt;Action: Check your installation manual for the meaning of this code on this operating system.begin&lt;br /&gt;*&lt;br /&gt;ERROR at line 1:&lt;br /&gt;ORA-33292: Insufficient permissions to access analytic workspace APPS.ODPCODE&lt;br /&gt;using the specified access mode.&lt;br /&gt;ORA-06512: at "SYS.DBMS_AW", line 67&lt;br /&gt;ORA-06512: at "SYS.DBMS_AW", line 131&lt;br /&gt;ORA-06512: at "SYS.DBMS_AW", line 984&lt;br /&gt;ORA-06512: at "SYS.DBMS_AW", line 937&lt;br /&gt;ORA-33262: Analytic workspace ODPCODE does not exist.&lt;br /&gt;ORA-06512: at "SYS.DBMS_AW", line 908&lt;br /&gt;ORA-06512: at "APPS.MSD_AW_LOADER", line 10&lt;br /&gt;ORA-06512: at line 3&lt;br /&gt;    FAILED: file pqbgtasd.sql on worker  4.&lt;br /&gt;&lt;br /&gt;sqlplus -s APPS/***** @F:\R12\apps\apps_st\appl\pqh\12.0.0\patch\115\sql\pqbgtasd.sql &lt;br /&gt;&lt;br /&gt;Error:&lt;br /&gt;Program exited with status 1&lt;br /&gt;&lt;br /&gt;Cause: The program terminated, returning status code 1.&lt;br /&gt;&lt;br /&gt;Action: Check your installation manual for the meaning of this code on this operating system.&lt;br /&gt;PL/SQL procedure successfully completed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Commit complete.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;API User Hook Pre-Processor One Module Report&lt;br /&gt;=============================================&lt;br /&gt;Created on 2010/05/17 12:08:31 (YYYY/MM/DD HH:MM:SS)&lt;br /&gt;&lt;br /&gt;CREATE_BUDGET(Business Process API) successful.&lt;br /&gt;&lt;br /&gt;Module Name: UPDATE_BUDGET&lt;br /&gt;Module Type: Business Process API&lt;br /&gt;&lt;br /&gt;Hook Package: PQH_BUDGETS_BK2&lt;br /&gt;-----------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hook: Before Process&lt;br /&gt;--------------------&lt;br /&gt;(XX_RETURN_FROM_LEAVE_PKG.LEAVE_DEL) There is a parameter to the call procedure&lt;br /&gt; which is not available at this hook. Check your call procedure parameters. Code&lt;br /&gt; to carry out this hook call has not been created.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DELETE_BUDGET(Business Process API) successful.&lt;br /&gt;BEGIN hr_api_user_hooks_utility.clear_hook_report; END;&lt;br /&gt;&lt;br /&gt;Reason : hookup&lt;br /&gt;solution delete it .&lt;br /&gt;&lt;br /&gt;3) Time is: Tue May 18 2010 01:20:39&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ATTENTION: All workers either have failed or are waiting:&lt;br /&gt;&lt;br /&gt;    FAILED: file czhist.sql   on worker  1.&lt;br /&gt;Start time for file is: Tue May 18 2010 01:11:38&lt;br /&gt;&lt;br /&gt;sqlplus -s APPS/***** @F:\R12\apps\apps_st\appl\cz\12.0.0\patch\115\sql\czhist.sql &amp;un_cz&lt;br /&gt;&lt;br /&gt;Error:&lt;br /&gt;Program exited with status 1&lt;br /&gt;&lt;br /&gt;Cause: The program terminated, returning status code 1.&lt;br /&gt;&lt;br /&gt;Action: Check your installation manual for the meaning of this code on this operating system.&lt;br /&gt;PL/SQL procedure successfully completed.&lt;br /&gt;&lt;br /&gt;BEGIN FND_STATS.GATHER_COLUMN_STATS('CZ','CZ_DEVL_PROJECTS','DELETED_FLAG'); END;&lt;br /&gt;&lt;br /&gt;*&lt;br /&gt;ERROR at line 1:&lt;br /&gt;ORA-20002: Version of statistics table APPLSYS.FND_STATTAB is too old. Please&lt;br /&gt;try upgrading it with dbms_stats.upgrade_stat_table&lt;br /&gt;ORA-06512: at "APPS.FND_STATS", line 664&lt;br /&gt;ORA-06512: at "APPS.FND_STATS", line 2497&lt;br /&gt;ORA-06512: at line 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4) &lt;br /&gt;&lt;br /&gt;Time is: Sun May 16 2010 03:04:48&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ATTENTION: All workers either have failed or are waiting:&lt;br /&gt;&lt;br /&gt;    FAILED: file csppl.odf    on worker  1.&lt;br /&gt;    FAILED: file csprecm.odf  on worker  2.&lt;br /&gt;    FAILED: file csdcsdv.odf  on worker  3.&lt;br /&gt;    FAILED: file csmcsma.odf  on worker  4.&lt;br /&gt;&lt;br /&gt;Time is: Sun May 16 2010 09:24:04&lt;br /&gt;There are now 81692 jobs remaining (current phase=A70):&lt;br /&gt;    3 running, 115 ready to run and 81574 waiting.&lt;br /&gt;&lt;br /&gt;ATTENTION: All workers either have failed or are waiting:&lt;br /&gt;&lt;br /&gt;    FAILED: file csppl.odf    on worker  1.&lt;br /&gt;    FAILED: file csprecm.odf  on worker  2.&lt;br /&gt;    FAILED: file csdcsdv.odf  on worker  3.&lt;br /&gt;    FAILED: file csmcsma.odf  on worker  4.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ATTENTION: All workers either have failed or are waiting:&lt;br /&gt;&lt;br /&gt;    FAILED: file bivdelmenu.sql on worker  1.&lt;br /&gt;    FAILED: file BIVMEDE71.sql on worker  2.&lt;br /&gt;    FAILED: file amwmndel.sql on worker  3.&lt;br /&gt;    FAILED: file arhdelmn.sql on worker  4.&lt;br /&gt;&lt;br /&gt;Reason :Start time for file is: Sun May 16 2010 15:52:28&lt;br /&gt;&lt;br /&gt;sqlplus -s APPS/***** @F:\R12\apps\apps_st\appl\amw\12.0.0\patch\115\sql\amwmndel.sql&lt;br /&gt;&lt;br /&gt;Error:&lt;br /&gt;Program exited with status 1&lt;br /&gt;&lt;br /&gt;Cause: The program terminated, returning status code 1.&lt;br /&gt;&lt;br /&gt;Action: Check your installation manual for the meaning of this code on this operating system.BEGIN&lt;br /&gt;*&lt;br /&gt;ERROR at line 1:&lt;br /&gt;ORA-04063: package body "APPS.FND_FUNCTION_SECURITY" has errors&lt;br /&gt;ORA-06508: PL/SQL: could not find program unit being called:&lt;br /&gt;"APPS.FND_FUNCTION_SECURITY"&lt;br /&gt;ORA-06512: at line 2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ATTENTION: All workers either have failed or are waiting:&lt;br /&gt;&lt;br /&gt;    FAILED: file bivdelmenu.sql on worker  1.&lt;br /&gt;    FAILED: file BIVMEDE71.sql on worker  2.&lt;br /&gt;    FAILED: file amwmndel.sql on worker  3.&lt;br /&gt;    FAILED: file arhdelmn.sql on worker  4.&lt;br /&gt;&lt;br /&gt;Time is: Sun May 16 2010 22:52:18&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ATTENTION: All workers either have failed or are waiting:&lt;br /&gt;&lt;br /&gt;    FAILED: file IGSPR4700925.sql on worker  1.&lt;br /&gt;&lt;br /&gt;Reason :&lt;br /&gt;sqlplus -s APPS/***** @F:\R12\apps\apps_st\appl\igs\12.0.0\patch\115\sql\IGSPR4700925.sql &lt;br /&gt;&lt;br /&gt;Error:&lt;br /&gt;Program exited with status 1&lt;br /&gt;&lt;br /&gt;Cause: The program terminated, returning status code 1.&lt;br /&gt;&lt;br /&gt;Action: Check your installation manual for the meaning of this code on this operating system.       WHERE  CURRENT OF c_pr_inst_sta_ref;&lt;br /&gt;                         *&lt;br /&gt;ERROR at line 29:&lt;br /&gt;ORA-06550: line 29, column 26:&lt;br /&gt;PLS-00404: cursor 'C_PR_INST_STA_REF' must be declared with FOR UPDATE to use&lt;br /&gt;with CURRENT OF&lt;br /&gt;&lt;br /&gt;solution : invalid objects and disable and enable the events parameter in the init.ora file&lt;br /&gt;&lt;br /&gt;Time is: Sat May 15 2010 21:34:01&lt;br /&gt;&lt;br /&gt;   FAILED: file jtf_diagnostic_report_s.xdf on worker  3 for product fnd username APPS.&lt;br /&gt;&lt;br /&gt;Time is: Sun May 16 2010 00:52:53&lt;br /&gt;&lt;br /&gt;   FAILED: file PO_VENDORS_OBS_F1.xdf on worker  2 for product po  username APPS.&lt;br /&gt;&lt;br /&gt;Time is: Sun May 16 2010 00:52:54&lt;br /&gt;&lt;br /&gt;   FAILED: file PO_VENDOR_CONTACTS_OBS_N4.xdf on worker  3 for product po  username APPS.&lt;br /&gt;&lt;br /&gt;Time is: Sun May 16 2010 00:53:40&lt;br /&gt;&lt;br /&gt;   FAILED: file jtfiaitn.sql on worker  4 for product jtf username JTF.&lt;br /&gt;&lt;br /&gt;Reason :&lt;br /&gt;Start time for file is: Sun May 16 2010 00:53:31&lt;br /&gt;&lt;br /&gt;sqlplus -s APPS/***** @F:\R12\apps\apps_st\appl\jtf\12.0.0\patch\115\sql\jtfiaitn.sql &amp;un_jtf &amp;pw_jtf&lt;br /&gt;&lt;br /&gt;Error:&lt;br /&gt;Program exited with status 1&lt;br /&gt;&lt;br /&gt;Cause: The program terminated, returning status code 1.&lt;br /&gt;&lt;br /&gt;Action: Check your installation manual for the meaning of this code on this operating system.Connected.&lt;br /&gt;DECLARE&lt;br /&gt;*&lt;br /&gt;ERROR at line 1:&lt;br /&gt;ORA-00955: name is already used by an existing object&lt;br /&gt;ORA-06512: at "SYS.DBMS_SQL", line 1053&lt;br /&gt;ORA-06512: at line 35&lt;br /&gt;&lt;br /&gt;Time is: Sun May 16 2010 02:03:29&lt;br /&gt;&lt;br /&gt;   FAILED: file eamasso.odf  on worker  3 for product eam username EAM.&lt;br /&gt;Time is: Sun May 16 2010 02:03:48&lt;br /&gt;&lt;br /&gt;   FAILED: file dppobjects.odf on worker  4 for product dpp username DPP.&lt;br /&gt;&lt;br /&gt;Time is: Sun May 16 2010 02:05:22&lt;br /&gt;&lt;br /&gt;   FAILED: file egov083.odf  on worker  3 for product ego username EGO.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Start time for statement below is: Sun May 16 2010 02:02:04&lt;br /&gt;&lt;br /&gt;D Worker error:&lt;br /&gt;The following ORACLE error:&lt;br /&gt;&lt;br /&gt;ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [0x549E78EC], [], [], [], [], [], [], [], [], [], []&lt;br /&gt;&lt;br /&gt;occurred while executing the SQL statement:&lt;br /&gt;&lt;br /&gt;CREATE OR REPLACE FORCE VIEW APPS.CSM_REQ_LINES_V ("ACCESS_ID",&lt;br /&gt; "REQUIREMENT_LINE_ID", "REQUIREMENT_HEADER_ID", "INVENTORY_ITEM_ID",&lt;br /&gt; "ITEM_NAME", "ITEM_DESCRIPTION", "UOM_CODE", "REQUIRED_QUANTITY",&lt;br /&gt; "SHIP_COMPLETE_FLAG", "REVISION", "SOURCE_ORGANIZATION_ID",&lt;br /&gt; "SOURCE_SUBINVENTORY", "ORDERED_QUANTITY", "ORDER_LINE_ID",&lt;br /&gt; "RESERVATION_ID", "LOCAL_RESERVATION_ID", "ORDER_BY_DATE", "ARRIVAL_DATE",&lt;br /&gt; "SHIPPING_METHOD_CODE", "LAST_UPDATE_DATE", "ORDER_NUMBER",&lt;br /&gt; "SOURCED_FROM", "PO_REQUISITION_NUMBER", "ORDER_STATUS",&lt;br /&gt; "ATTRIBUTE_CATEGORY", "ATTRIBUTE1", "ATTRIBUTE2", "ATTRIBUTE3",&lt;br /&gt; "ATTRIBUTE4", "ATTRIBUTE5", "ATTRIBUTE6", "ATTRIBUTE7", "ATTRIBUTE8",&lt;br /&gt; "ATTRIBUTE9", "ATTRIBUTE10", "ATTRIBUTE11", "ATTRIBUTE12", "ATTRIBUTE13",&lt;br /&gt; "ATTRIBUTE14", "ATTRIBUTE15", "LIKELIHOOD", "ITEM_SCRATCHPAD",&lt;br /&gt; "SCHEDULE_ARRIVAL_DATE", "WAYBILL_NUMBER", "ACTUAL_SHIPMENT_DATE",&lt;br /&gt; "SHIPPING_METHOD_MEANING", "SOURCED_FROM_DISP", "SOURCE_ID", "CREATED_BY",&lt;br /&gt; "LAST_UPDATED_BY") AS SELECT acc.access_id , lines.requirement_line_id ,&lt;br /&gt; lines.requirement_header_id , lines.inventory_item_id ,&lt;br /&gt; csm_util_pkg.item_name(msi.concatenated_segments) AS item_name,&lt;br /&gt;msi.description AS item_description, lines.uom_code ,&lt;br /&gt; lines.required_quantity , lines.ship_complete_flag , lines.revision ,&lt;br /&gt; lines.source_organization_id , lines.source_subinventory ,&lt;br /&gt; lines.ordered_quantity , lines.order_line_id , lines.reservation_id ,&lt;br /&gt; lines.local_reservation_id , lines.order_by_date ,&lt;br /&gt; nvl(oe_lines.actual_arrival_date,oe_lines.schedule_arrival_date)&lt;br /&gt; arrival_date, oe_lines.shipping_method_code, lines.last_update_date,&lt;br /&gt; oe_headers.order_number, lines.sourced_from, null po_requisition_number,&lt;br /&gt; CSP_PICK_UTILS.get_order_status (oe_lines.LINE_ID,&lt;br /&gt; oe_lines.FLOW_STATUS_CODE) order_status, lines.attribute_category,&lt;br /&gt; lines.attribute1, lines.attribute2, lines.attribute3, lines.attribute4,&lt;br /&gt; lines.attribute5, lines.attribute6, lines.attribute7, lines.attribute8,&lt;br /&gt; lines.attribute9, lines.attribute10, lines.attribute11, lines.attribute12,&lt;br /&gt; lines.attribute13, lines.attribute14, lines.attribute15 ,&lt;br /&gt; lines.LIKELIHOOD, lines.ITEM_SCRATCHPAD,oe_lines.schedule_arrival_date,&lt;br /&gt; csp_pick_utils.get_attribute_value('WAYBILL') waybill_number,&lt;br /&gt; oe_lines.actual_shipment_date, flv.meaning shipping_method_meaning,&lt;br /&gt; fl.meaning SOURCED_FROM_DISP, rld.source_id,&lt;br /&gt; CSM_UTIL_PKG.GET_NUMBER(lines.created_by) AS CREATED_BY,&lt;br /&gt;CSM_UTIL_PKG.GET_NUMBER(lines.last_updated_by) AS LAST_UPDATED_BY FROM&lt;br /&gt; csm_req_lines_acc acc, csp_requirement_lines lines, oe_order_lines_all&lt;br /&gt; oe_lines, oe_order_headers_all oe_headers, mtl_system_items_b_kfv msi,&lt;br /&gt; csp_req_line_details rld , fnd_lookup_values flv, fnd_lookups fl WHERE&lt;br /&gt; acc.user_id = asg_base.get_user_id AND acc.requirement_line_id =&lt;br /&gt; lines.requirement_line_id AND (lines.sourced_from = 'INVENTORY' OR&lt;br /&gt; lines.sourced_from is null) AND lines.requirement_line_id =&lt;br /&gt; rld.requirement_line_id(+) AND rld.source_id = oe_lines.line_id(+) AND&lt;br /&gt;oe_lines.header_id = oe_headers.header_id(+) AND msi.inventory_item_id =&lt;br /&gt; lines.inventory_item_id AND msi.organization_id =&lt;br /&gt; nvl(lines.source_organization_id,&lt;br /&gt; csm_profile_pkg.get_organization_id(acc.user_id)) and flv.LOOKUP_TYPE(+) =&lt;br /&gt;'SHIP_METHOD' and flv.LANGUAGE(+) = asg_base.get_language and&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resetting events to create views with compilation ...&lt;br /&gt;&lt;br /&gt;AD Worker error:&lt;br /&gt;The following ORACLE error:&lt;br /&gt;&lt;br /&gt;ORA-01012: not logged on&lt;br /&gt;&lt;br /&gt;occurred while executing the SQL statement:&lt;br /&gt;&lt;br /&gt;alter session set events '10520 trace name context off'&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Solution : execute the view creation manually &lt;br /&gt;&lt;br /&gt;sqlplus -s APPS/***** @F:\R12\apps\apps_st\appl\igs\12.0.0\patch\115\sql\IGSAD4287260A.sql &lt;br /&gt;&lt;br /&gt;Error:&lt;br /&gt;Program exited with status 1&lt;br /&gt;&lt;br /&gt;Cause: The program terminated, returning status code 1.&lt;br /&gt;&lt;br /&gt;Action: Check your installation manual for the meaning of this code on this operating system.DECLARE&lt;br /&gt;*&lt;br /&gt;ERROR at line 1:&lt;br /&gt;ORA-20100: Error due to ORA-06502: PL/SQL: numeric or value error: character to&lt;br /&gt;number conversion error&lt;br /&gt;ORA-06512: at line 146&lt;br /&gt;&lt;br /&gt;After resolving the above issue did the database upgrade to 11g with database migration to 64bit.&lt;br /&gt;============&lt;br /&gt;custom 6i forms and reports files should be migrated to the new 10g forms reports format using the following script,&lt;br /&gt;&lt;br /&gt;frmcmp userid=apps/password@prodsid module=XXPER_ENTITLEMENT.fmb batch=yes module_type=form&lt;br /&gt;&lt;br /&gt;::compile_forms.bat &lt;br /&gt;cls &lt;br /&gt;Echo compiling Forms....&lt;br /&gt;for %%f IN (*.fmb) do frmcmp userid=apps/password@testerp module=%%f batch=yes module_type=form compile_all=yes window_state=minimize &lt;br /&gt;ECHO FINISHED COMPILING &lt;br /&gt;&lt;br /&gt;REM WINDOWS COMPILE REPORT &lt;br /&gt;::compile_report.bat &lt;br /&gt;cls &lt;br /&gt;Echo compiling Report .....&lt;br /&gt;for %%f IN (*.rdf) do rwconverter userid=apps/password@testerp batch=yes source=%%f stype=rdffile DTYPE=rdffile compile_all=yes OVERWRITE=yes logfile=replog.txt&lt;br /&gt;ECHO FINISHED COMPILING&lt;br /&gt;=============&lt;br /&gt;STEPS FOR DATABASE UPGRADE--ROUGH&lt;br /&gt;&lt;br /&gt;oracle home installation for 11.1.0.7 - &lt;br /&gt;Database binary installation -&lt;br /&gt;started at 07:15 PM -07:32 PM&lt;br /&gt;&lt;br /&gt;example installation -&lt;br /&gt;started at 07:34 - 07:38 PM&lt;br /&gt;&lt;br /&gt;Oracle Database 11.1 Post-Upgrade Status Tool           05-12-2010 05:32:04&lt;br /&gt;.&lt;br /&gt;Component                                Status         Version  HH:MM:SS&lt;br /&gt;.&lt;br /&gt;Oracle Server&lt;br /&gt;.                                         VALID      11.1.0.7.0  01:04:22&lt;br /&gt;JServer JAVA Virtual Machine&lt;br /&gt;.                                         VALID      11.1.0.7.0  00:15:13&lt;br /&gt;Oracle Real Application Clusters&lt;br /&gt;.                                       INVALID      11.1.0.7.0  00:00:04&lt;br /&gt;OLAP Analytic Workspace&lt;br /&gt;.                                         VALID      11.1.0.7.0  00:00:41&lt;br /&gt;OLAP Catalog&lt;br /&gt;.                                         VALID      11.1.0.7.0  00:01:59&lt;br /&gt;Oracle OLAP API&lt;br /&gt;.                                         VALID      11.1.0.7.0  00:00:44&lt;br /&gt;Oracle XDK&lt;br /&gt;.                                         VALID      11.1.0.7.0  00:03:19&lt;br /&gt;Oracle Text&lt;br /&gt;.                                         VALID      11.1.0.7.0  00:02:40&lt;br /&gt;Oracle XML Database&lt;br /&gt;.                                         VALID      11.1.0.7.0  00:04:36&lt;br /&gt;Oracle Database Java Packages&lt;br /&gt;.                                         VALID      11.1.0.7.0  00:00:46&lt;br /&gt;Oracle Multimedia&lt;br /&gt;.                                         VALID      11.1.0.7.0  00:05:41&lt;br /&gt;Spatial&lt;br /&gt;.                                         VALID      11.1.0.7.0  00:08:17&lt;br /&gt;Gathering Statistics&lt;br /&gt;.                                                                00:21:59&lt;br /&gt;Total Upgrade Time: 02:10:29&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;the job was started completed at COMP_TIMESTAMP UPGRD__BGN 2010-05-12 03:14:13 and completed at 05:32 AM&lt;br /&gt;&lt;br /&gt;so the total time is - 2 1/2 hours &lt;br /&gt;&lt;br /&gt;2 nd job script ran from 05:32 to 08:15&lt;br /&gt;&lt;br /&gt;- 2 1/2 hours&lt;br /&gt;&lt;br /&gt;so total 5 hours for this job .&lt;br /&gt;&lt;br /&gt;====================&lt;br /&gt;IMPORTANT FOR PROD ATG UPGRADE ---&gt; ROUGH&lt;br /&gt;&lt;br /&gt;6502082 / AR &lt;br /&gt;5989593 / AR post step adgrants&lt;br /&gt;4252319 &lt;br /&gt;3218526 / AR&lt;br /&gt;3854951 / AR&lt;br /&gt;3761838 / AR&lt;br /&gt;4206794 / AR&lt;br /&gt;./txkprepatchcheck.pl -script=ValidateRollup -outfile=$APPLTMP/txkValidateRollup.html -appspass=apps&lt;br /&gt;5903765 /AR&lt;br /&gt;4619025 &lt;br /&gt;4583125 &lt;br /&gt; &lt;br /&gt;Run Autoconfig&lt;br /&gt; &lt;br /&gt;CREATE TABLESPACE APPS_TS_TOOLS DATAFILE&lt;br /&gt;'datafile_name.dbf' SIZE 500M&lt;br /&gt;EXTENT MANAGEMENT LOCAL AUTOALLOCATE;&lt;br /&gt;&lt;br /&gt;Copy the following font files from $FND_TOP/resource to the /lib/fonts directory (under OA_JRE_TOP and JRE_TOP) on all Web and concurrent nodes.&lt;br /&gt; If $FND_TOP/resource does not contain the font files, apply patch 3639533: Albany (Display) Font 4.02 Release.&lt;br /&gt;The font files are:&lt;br /&gt;ALBANYWT.ttf - "single-byte" characters only&lt;br /&gt;ALBANWTJ.ttf - Unicode font with Japanese Han Ideographs&lt;br /&gt;ALBANWTK.ttf - Unicode font with Korean Han Ideographs&lt;br /&gt;ALBANWTS.ttf - Unicode font with Simplified Chinese Han Ideographs&lt;br /&gt;ALBANWTT.ttf - Unicode font with Traditional Chinese Han Ideographs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select bug_number,CREATION_DATE from ad_bugs where bug_number in ('6502082','5989593','4252319','3218526','3854951','3761838','4206794','5903765','4619025','4583125');&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BUG_NUMBER                     CREATION_&lt;br /&gt;------------------------------ ---------&lt;br /&gt;&lt;br /&gt;4252319                        10-MAY-10&lt;br /&gt;4583125                        11-MAY-10&lt;br /&gt;5903765                        10-MAY-10&lt;br /&gt;&lt;br /&gt;select bug_number,CREATION_DATE from ad_bugs where bug_number in ('3639533');&lt;br /&gt;===========********===========&lt;br /&gt;Post upgrade tasks has many steps while one of them is as follows,&lt;br /&gt;&lt;br /&gt;Human Resources&lt;br /&gt;Important: Customers using Oracle iRecruitment and running database&lt;br /&gt;11gR1 version 11.1.0.7 must add the following line to their database&lt;br /&gt;initialization file:&lt;br /&gt;event="31151 trace name context forever, level 0x100"&lt;br /&gt;Setting this event provides a fix for the issue reported in bug 6952870.&lt;br /&gt;===============================&lt;br /&gt;&lt;strong&gt;If you face any issues in upgrade please don't hesitate to contact me at masamimalik@yahoo.com or call me on my cell 009743164959&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-7638490692779712420?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/7638490692779712420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=7638490692779712420' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7638490692779712420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7638490692779712420'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2010/06/rough-upgrade-steps-from-11i-to-r12.html' title='Upgrade steps from 11i to r12 with db 11g - rough'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-7205528384749535414</id><published>2010-06-21T01:13:00.000-07:00</published><updated>2010-06-21T01:22:21.924-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>Tasks and Phases to Upgrade Oracle Applications 11i to r12 (12.1.1)</title><content type='html'>Last month I was busy in upgrading Oracle Applications 11i (11.5.10.2) to release 12 (12.1.1) with 64 bit 11g (11.1.0.7) database. The following were the main tasks and phases with which the upgrade project was done. For rough detailed steps for the upgrade please refer my post 'rough upgrade steps from 11i to r12 with db 11g'&lt;br /&gt;TASK and Phases&lt;br /&gt;Phase -1&lt;br /&gt;Applying ATG RUP 6 patch and Converting to Multiorg&lt;br /&gt;Baseline backup of the existing 9i  database and Oracle 11i Application file system including windows registries &lt;br /&gt;Disabling Batch jobs or any scheduled Database jobs .&lt;br /&gt;Apply Pre-reqs patch 4252319 &lt;br /&gt;Apply ATG RUP 6 Patch 5903765 &lt;br /&gt;Apply ATG RUP 6 Transaltion Patch 5903765 &lt;br /&gt;Apply Post Upgrade patch 4583125 &lt;br /&gt;Perform the Post upgrade steps &lt;br /&gt;Converting to mutliorg&lt;br /&gt;Apply the TUMS utility Patch 7705743&lt;br /&gt;&lt;br /&gt;In case of failure time for restoration will be 3 hr &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Phase -2&lt;br /&gt;Oracle Database upgrade to 11gR1&lt;br /&gt;Baseline backup of the existing 9i  database and Oracle 11i Application file system including windows registries &lt;br /&gt;Applying Oracle Database upgrade and baseline  Pre-reqs on the Windows Server 2003 &lt;br /&gt;Performing Pre-upgrade Tasks on the existing 9i  Database .&lt;br /&gt;Copy the timezone dat file from the patch 5845928 and run  utlu111i.sql&lt;br /&gt;Disabling Batch jobs or any scheduled Database jobs .&lt;br /&gt;Starting the Oracle Database upgrade from 9i to 11gR1 (11.1.0.7) .&lt;br /&gt;Performing Post-upgrade Tasks on the upgraded 11gR1 Database .&lt;br /&gt;enabling autoconfig standardize configuration management tasks in an Oracle Applications environment&lt;br /&gt;Final Oracle 11gR1 Database backup . &lt;br /&gt;&lt;br /&gt;In case of failure time for restoration will be 3 hr &lt;br /&gt;&lt;br /&gt;Phase -3&lt;br /&gt;R12 Upgrade&lt;br /&gt;Baseline backup of the existing 11gR1 database and Oracle 11i Application file system including windows registries &lt;br /&gt;Install and integrate the R12 filsystem with 11gr1 database&lt;br /&gt;Apply the pre-reqs patches&lt;br /&gt;Run the Upgrade Driver for R12&lt;br /&gt;Apply the NLS upgrade driver&lt;br /&gt;Migrate the customization &lt;br /&gt;&lt;br /&gt;Phase -4&lt;br /&gt;Database migration to 64 bit &lt;br /&gt;Baseline backup of the existing 11gR1 database&lt;br /&gt;Installation of Microsoft windows 64 bit &lt;br /&gt;Migrate the Database to 64 Bit &lt;br /&gt;Enable Autoconfig on New RDBMS home on 64 bit&lt;br /&gt;Recreate the Grants and synonyms&lt;br /&gt;Compile flexfields &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In case of failure time for restoration will be 3 hr&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-7205528384749535414?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/7205528384749535414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=7205528384749535414' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7205528384749535414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7205528384749535414'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2010/06/steps-to-upgrade-oracle-applications.html' title='Tasks and Phases to Upgrade Oracle Applications 11i to r12 (12.1.1)'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-2043888670417979704</id><published>2010-04-06T03:38:00.000-07:00</published><updated>2010-04-06T22:08:40.371-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Redhat Linux'/><title type='text'>Forgot Linux root and/or Oracle sys password?</title><content type='html'>&lt;strong&gt;&lt;span style="color:#ff0000;"&gt;RESET LINUX root PASSWORD&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;METHOD 1&lt;/strong&gt;&lt;br /&gt;1. Boot the computer with Linux Installation CD.&lt;br /&gt;2. Enter into Linux Rescue mode by enering the following command in boot screen. boot: linux rescue&lt;br /&gt;3. When the sh prompt is reached, enter the following commands to change root password.&lt;br /&gt;&lt;br /&gt;#chroot /mnt/sysimage&lt;br /&gt;#passwd&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;METHOD 2&lt;/strong&gt;&lt;br /&gt;1. When u reached at the grub screen press 'e' on linux which contains the word 'kernell' press 'e'&lt;br /&gt;2. Go to end of that line and write 'linux single'&lt;br /&gt;3. Then press 'esc' twice and press 'b' to reboot the system&lt;br /&gt;4. Now wait for the prompt and type the following command to reset the password for root&lt;br /&gt;&lt;br /&gt;#passwd root&lt;br /&gt;&lt;br /&gt;The above steps will prompt you to enter your new password.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#cc0000;"&gt;RESET ORACLE sys USER PWD&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Your password file should be under &lt;orahome&gt;\database\PWD&lt;sid&gt;.ora.&lt;br /&gt;Delete it and run the Oracle password utility from the command prompt as;&lt;br /&gt;&lt;br /&gt;#orapwd file=pwdSID&lt;sid&gt;.ora password=newpassword&lt;password&gt; entries=enterAnumber&lt;br /&gt;&lt;br /&gt;The &lt;password&gt;is your new sys password. After you log in as sys you can change it and create new passwords for system etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-2043888670417979704?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/2043888670417979704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=2043888670417979704' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/2043888670417979704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/2043888670417979704'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2010/04/forgot-linux-root-password.html' title='Forgot Linux root and/or Oracle sys password?'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-8196346953991829497</id><published>2010-03-21T03:42:00.000-07:00</published><updated>2010-03-21T04:14:58.850-07:00</updated><title type='text'>Oracle Apps 11i 11.5.10.2 configuration on DMZ</title><content type='html'>You can refer &lt;strong&gt;380490.1 for Oracle E-Business Suite Release 12 Configuration in a DMZ&lt;/strong&gt;, which is almost similar to the 11i done below,&lt;br /&gt;&lt;br /&gt;1. Following patches required,&lt;br /&gt;&lt;br /&gt;Required Patch: 3240000&lt;br /&gt;Description: 11.5.10 Oracle EBS Consolidated Update 1Comments: This patch is not required if Upgraded your EBS instance to 11.5.10. Oracle EBS consolidated update 2 (3460000)&lt;br /&gt;&lt;br /&gt;Required Patch: 4204335Description: WTI LITE PATCHComments: This patch is not required if Upgraded your EBS instance to 11.5.10. Oracle EBS consolidated update 2 (3460000)&lt;br /&gt;&lt;br /&gt;Required Patch: 3942483Description: Autoconfig support for reserver proxy, URL firewall and DMZ configuration (Phase 1)Comments: This patch is not required if your EBS instance have been upgraded to 11.5.10 CU2 or later and also it has been upgraded to TXK.M (4709948) or later.&lt;br /&gt;&lt;br /&gt;SQL&gt;SELECT PATCH_LEVEL FROM FND_PRODUCT_INSTALLATIONS WHERE PATCH_LEVEL LIKE '%TXK%';&lt;br /&gt;&lt;br /&gt;Required Patch: 5478710Description: TXK (FND &amp;amp; ADX) Autoconfig Rollup Patch O (Dec 2006)&lt;br /&gt;&lt;br /&gt;Run the following script to check if already the patches are applied or not.&lt;br /&gt;&lt;br /&gt;SQL&gt;select * from ad_bugs where bug_number in ('3240000','3460000','4204335','4125550','3942483','4709948','5478710');&lt;br /&gt;&lt;br /&gt;Note: Apply the above patches in the order shown.&lt;br /&gt;&lt;br /&gt;2. Ask System administrator to update the external DNS entry and add the correct domain name on the DMZ server, Also update the \etc\hosts file. On DMZ server update \etc\hosts file and enter the ipaddress and the hostname for the database server, since you will be accessing it.&lt;br /&gt;eg: 192.168.2.67 testdb&lt;br /&gt;&lt;br /&gt;3. Install all the pre-requisit softwares Visual Studio 6, vc++, MKS toolkit, xmlsdk.&lt;br /&gt;&lt;br /&gt;Eg: Install MKS toolkit to c:\prog\mks directory&lt;br /&gt;create prog and mks directories before installing and select the correct path while installing.&lt;br /&gt;&lt;br /&gt;Install VC++ in c:\VC98 directory, create VC98 directory before installing and select the correct path while installing&lt;br /&gt;&lt;br /&gt;Copy gnumake.exe to c:\VC98\bin and C:\prog\mksnt directories&lt;br /&gt;&lt;br /&gt;Install xmlsdk.msi in default path c:\Program files\Microsoft XML Parser SDK.&lt;br /&gt;&lt;br /&gt;4. Now you MUST stop all application services (web apache, forms, reports, conc manager, 806 listener)&lt;br /&gt;recompile apps schema using adadmin (optional)&lt;br /&gt;run cmclean.sql script (optional)&lt;br /&gt;&lt;br /&gt;5. On internal application server,&lt;br /&gt;perl adpreclone.pl appsTier&lt;br /&gt;&lt;br /&gt;Copy appltop,commontop,oratop and iastop from Internal to External DMZ server.&lt;br /&gt;&lt;br /&gt;6. Now run config clone on DMZ External server,&lt;br /&gt;&lt;br /&gt;SET path=e:\oracle\qatestora\iAS\Apache\perl\5.00503\bin\MSWin32-x86\;%PATH%&lt;br /&gt;then rerun adcfgclone.pl&lt;br /&gt;&lt;br /&gt;%common_top%\clone\bin&gt;perl adcfgclone.pl appsTier&lt;br /&gt;&lt;br /&gt;7. Now if Internal is giving error on page while logging and external is working so after the DEP for IE Explorer and installing Jinitiator and running autoconfig on database and internal appication tier servers will resolve the issue.&lt;br /&gt;HERE I RAN AUTOCONFIG ON INTERNAL APPS TIER THEN STARTED ONLY FORMS,806 AND APACHE TO START APPLICATION AND UPDATE THE FOLLOWING PROFILES,&lt;br /&gt;&lt;br /&gt;8. There are a number of user profiles that are used to construct various URLs in an E-Business Suite 11i environment. These user profiles are as follows:&lt;br /&gt;Application developer responsibility----&gt;profile---&gt;FOLLOWING ALL TO BE SET TO SECURITY(HIERARCHY TYPE).&lt;br /&gt;&lt;br /&gt;User Profile Name Internal Name&lt;br /&gt;------------------------------------------------------------------------------&lt;br /&gt;1. Applications Web Agent APPS_WEB_AGENT&lt;br /&gt;2. Applications Servlet Agent APPS_SERVLET_AGENT&lt;br /&gt;3. Applications JSP Agent APPS_JSP_AGENT&lt;br /&gt;4. Applications Framework Agent APPS_FRAMEWORK_AGENT&lt;br /&gt;5. ICX:Forms Launcher ICX_FORMS_LAUNCHER&lt;br /&gt;6. ICX: Oracle Discoverer Launcher ICX_DISCOVERER_LAUNCHER&lt;br /&gt;7. ICX: Oracle Discoverer Viewer Launcher ICX_DISCOVERER_VIEWER_LAUNCHER&lt;br /&gt;8. Applications Help Web Agent HELP_WEB_AGENT&lt;br /&gt;9. Applications Portal APPS_PORTAL&lt;br /&gt;10. BOM:Configurator URL of UI Manager CZ_UIMGR_URL&lt;br /&gt;11. ASO : Configurator URL ASO_CONFIGURATOR_URL&lt;br /&gt;12. QP: Pricing Engine URL QP_PRICING_ENGINE_URL&lt;br /&gt;13. TCF:HOST TCF:HOST&lt;br /&gt;&lt;br /&gt;9. Stop all services.&lt;br /&gt;cmclean and adadmin recompile apps schema.&lt;br /&gt;&lt;br /&gt;Now run the following script,&lt;br /&gt;The configuration of the EBS environment for DMZ requires these profile options hierarchy type to be set to SERVRESP.&lt;br /&gt;To change the profile options hierarchy type values to SERVRESP, execute the following SQL script,&lt;br /&gt;&lt;br /&gt;Better run from DB Tier after sourcing appsora,&lt;br /&gt;&lt;br /&gt;SQLPLUS&gt; CONN APPS/PWDSQL&lt;br /&gt;SQL&gt; SPOOL C:\spoolfile.TXT&lt;br /&gt;SQL&gt; @&lt;fnd_top&gt;/patch/115/sql/txkChangeProfH.sql SERVRESP&lt;br /&gt;&lt;br /&gt;Now check the log file spoolfile.TXT for any errors. If no error then proceed.&lt;br /&gt;&lt;br /&gt;10. Make copy of NET80 tnsnames.ora, listener.ora and sqlnet.ora files before autoconfig.&lt;br /&gt;&lt;br /&gt;After the above script in step 9 successfully completed run AUTOCONFIG on the application nodes including the database server (i.e. 3 servers).&lt;br /&gt;[Firstly on TESTDB then on External DMZ server and lastly on Internal Applicaiton Server]&lt;br /&gt;&lt;br /&gt;11. Start db server services (conc after invalid objects checking and cmclean)&lt;br /&gt;&gt;&gt;start internal app server&lt;br /&gt;&gt;&gt;check application before starting external&lt;br /&gt;&gt;&gt;Now Update node trust level profile value for responsibilities that has to be exposed ouside.&lt;br /&gt;&lt;br /&gt;12. Ask the netowork administrator to publish the DMZ URL to a public IP. Test the applicaiton access from internet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-8196346953991829497?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/8196346953991829497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=8196346953991829497' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/8196346953991829497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/8196346953991829497'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2010/03/oracle-apps-11i-115102-configuration-on.html' title='Oracle Apps 11i 11.5.10.2 configuration on DMZ'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-7076998528199802694</id><published>2010-02-06T09:51:00.000-08:00</published><updated>2010-02-06T10:03:56.432-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>Upgrade from Jinitiator 1.3 to Java Plugin 1.6.0.x</title><content type='html'>Upgrade from Jinitiator 1.3 to Java Plugin 1.6.0.x&lt;br /&gt;&lt;br /&gt;Lately Oracle announced the end of Error Correction Support for Jinitiator 1.3 for E-Business Suite 11i, effective July 2009 (ML Note: 552692.1).&lt;br /&gt;&lt;br /&gt;This is the sign it’s about time to upgrade to the native Java Plug-in… :-)&lt;br /&gt;&lt;br /&gt;Among other things, one of the main advantages of upgrading from Jinitiator to the native Java Plug-in is the prevention of conflicts between them.&lt;br /&gt;&lt;br /&gt;This upgrade is great news to all are working with Oracle Discoverer Plus (with Java plug-in) and Oracle EBS 11i (with Jinitiator) and experiencing those conflicts.&lt;br /&gt;&lt;br /&gt;I’ll skip all the others advantages and disadvantages of upgrading to Java Plug-in as they are well described in Steven Chan’s post - Jinitiator 1.1.8 To Be Desupported for Apps 11i on blogs.oracle.com and in Metalink Note: 290807.1 - Upgrading Sun JRE with Oracle Applications 11i.&lt;br /&gt;&lt;br /&gt;So I will focus on the upgrade process itself - step by step.&lt;br /&gt;&lt;br /&gt;I tested the upgrade on the following test environment:&lt;br /&gt;&lt;br /&gt;EBS 11.5.10.2&lt;br /&gt;Database 10.2.0.3&lt;br /&gt;ATG Rollup 5&lt;br /&gt;Developer 6i patchset 18&lt;br /&gt;OS RHEL4.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Be aware that before upgrading to Java Plug-in you must upgrade to Developer 6i patchset 18 or later (currently the latest patchset is 19). &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;1. Download JRE plug-in Oracle E-Business Suite interoperability patch - 6863618&lt;br /&gt;&lt;br /&gt;2. Download the Sun JRE Plug-in from &lt;a href="http://java.sun.com/javase/downloads/index.jsp"&gt;http://java.sun.com/javase/downloads/index.jsp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&gt;Select Java Runtime Environment (JRE) 6 Update X (select the latest available update, currently it’s 5)&lt;br /&gt;&gt;Select Windows offline installation, multi-language&lt;br /&gt;&lt;br /&gt;3. Rename the downloaded installation file jre-6_uX-windows-i586-p.exe to j2se1600x.exe&lt;br /&gt;In my case rename jre-6_u5-windows-i586-p.exe to ==&gt;&gt; j2se16005.exe&lt;br /&gt;&lt;br /&gt;4. Copy the j2se1605.exe file to $COMMON_TOP/util/jinitiator on the Apps Tier node&lt;br /&gt;&lt;br /&gt;5. If you are on Developer 6i patchset 18 you should apply forms patches 6195758 &amp;amp; 5884875.&lt;br /&gt;** Skip this step if you are on Developer 6i patchset 19.&lt;br /&gt;&lt;br /&gt;&gt;Download Patches 6195758 &amp;amp; 5884875&lt;br /&gt;&lt;br /&gt;&gt;&gt;Apply patch 6195758&lt;br /&gt;-Stop all applications processes by adstpall.sh&lt;br /&gt;-Unzip p6195758_60827_GENERIC.zip&lt;br /&gt;-cd 6195758&lt;br /&gt;-cp -r $ORACLE_HOME/forms60/java/oracle/forms/&lt;br /&gt;handler/UICommon.class $ORACLE_HOME/forms60/java/oracle/forms/&lt;br /&gt;handler/UICommon.class.PRE_BUG6195758&lt;br /&gt;-cp -r $ORACLE_HOME/forms60/java/ oracle/forms&lt;br /&gt;/handler/ComponentItem.class $ORACLE_HOME/forms60/java/oracle/forms/&lt;br /&gt;handler/ComponentItem.class.PRE_BUG6195758&lt;br /&gt;-cp oracle/forms/handler/UICommon.class $ORACLE_HOME/forms60/java/oracle/forms/&lt;br /&gt;handler/UICommon.class&lt;br /&gt;-cp oracle/forms/handler/ComponentItem.class $ORACLE_HOME/forms60/java/oracle/forms/&lt;br /&gt;handler/ComponentItem.class&lt;br /&gt;&lt;br /&gt;&gt;&gt;Apply Patch 5884875&lt;br /&gt;-Unzip p5884875_60827_GENERIC.zip&lt;br /&gt;-cd 5884875&lt;br /&gt;-cp -r $ORACLE_HOME/forms60/java/oracle/forms/engine/Main.class&lt;br /&gt;$ORACLE_HOME/forms60/java/oracle/forms/&lt;br /&gt;engine/Main.class.PRE_BUG5884875&lt;br /&gt;-cp -r $ORACLE_HOME/forms60/java/ oracle/forms/&lt;br /&gt;handler/AlertDialog.class $ORACLE_HOME/forms60/java/oracle/forms/&lt;br /&gt;handler/AlertDialog.class.PRE_BUG5884875&lt;br /&gt;-cp oracle/forms/engine/Main.class $ORACLE_HOME/forms60/java/oracle/forms/engine/Main.class&lt;br /&gt;-cp oracle/forms/handler/AlertDialog.class $ORACLE_HOME/forms60/java/oracle/forms/&lt;br /&gt;engine/AlertDialog.class&lt;br /&gt;-Run adadmin -&gt; Generate Applications Files menu -&gt; Generate product JAR files&lt;br /&gt;&lt;br /&gt;6. Apply the Interoperability patch 6863618&lt;br /&gt;&gt;Make sure all applications processes are down&lt;br /&gt;&gt;Enable maintenance mode:&lt;br /&gt;&gt;Execute adadmin -&gt; Change Maintenance Mode (5) -&gt; Enable Maintenance Mode (1)&lt;br /&gt;&gt;Unzip p6863618_11i_GENERIC.zip&lt;br /&gt;&gt;Cd 6863618&lt;br /&gt;&gt;Run adpatch to apply patch driver u6863618.drv&lt;br /&gt;&gt;cd [PATCH_NUMBER]/fnd/bin&lt;br /&gt;&gt;Execute the following command where X represent the update number:&lt;br /&gt;$ txkSetPlugin.sh 1600X&lt;br /&gt;In my case:&lt;br /&gt;$ txkSetPlugin.sh 16005&lt;br /&gt;&gt;Disable maintenance mode:&lt;br /&gt;Execute adadmin -&gt; Change Maintenance Mode (5) -&gt; Disable Maintenance Mode (2)&lt;br /&gt;&lt;br /&gt;7. Start all applications processes by adstrtall.sh&lt;br /&gt;&lt;br /&gt;8. Verify installation by sign in Oracle EBS and select a forms based responsibility.&lt;br /&gt;&lt;br /&gt;For those who worry about performance, take a look at this benchmark:&lt;br /&gt;Benchmark comparison test with Jinitiator 1.3.1.23 and Java Plug-in 1.5.0_05 – performance whitepaper (&lt;a href="http://www.oracle.com/apps_benchmark/doc/jinitiator-1-3-1-23-java-plug-in-1-5-0-05-benchmark.pdf"&gt;http://www.oracle.com/apps_benchmark/doc/jinitiator-1-3-1-23-java-plug-in-1-5-0-05-benchmark.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For more information - Note: 290807.1 - Upgrading Sun JRE with Oracle Applications 11i&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-7076998528199802694?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/7076998528199802694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=7076998528199802694' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7076998528199802694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7076998528199802694'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2010/02/upgrade-from-jinitiator-13-to-java.html' title='Upgrade from Jinitiator 1.3 to Java Plugin 1.6.0.x'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-8818712933357786244</id><published>2010-01-06T09:28:00.000-08:00</published><updated>2010-01-18T08:11:34.981-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>Useful information - Upgrade applications 11i to r12</title><content type='html'>Useful information Upgrade applications 11i to r12.&lt;br /&gt;&lt;br /&gt;Note: To understand this page, you should have prior knowledge or background of APPS 11i&lt;br /&gt;&lt;br /&gt;Main points about Installer:&lt;br /&gt;1) config.txt is now configSID.txt , for adding node, you can use configSID.txt or get details from database directly using host.domain:port:sid format&lt;br /&gt;2) Install types: Standard and Express&lt;br /&gt;3) Shared APPL_TOP, COMN_TOP and tech stack as well, but not for Windows&lt;br /&gt;4) Easy load balancing of CP and Web communications&lt;br /&gt;5) Technology Stack Components : Oracle 10g R2 Database home, Oracle Developer 10i (forms, reports) and Oracle 10g Application Server 10.1.2 (http server)&lt;br /&gt;6) Java Development Kit (JDK) 5.0 is automatically installed by Rapid Install&lt;br /&gt;7) Disk Space : Applications node 28 GB , Fresh DB 45 GB, Vision DB 133 GB, Stage for fresh install 33 GB, TEMP 500 Mb&lt;br /&gt;8) Create Stage : CD's are in DVD Format, and run adautostg.pl to create dir structure, which requires perl 5.0053 in PATH, and creates subdirectories startCD, oraApps, oraDB, oraAS, and oraAppDB under stage12&lt;br /&gt;9) Want to install on virtual hostname, use -servername as command line parameter with rapidwiz. There are 2 more command line parameters, -restart to restart any failed install, and -techstack to install only technology stack.&lt;br /&gt;10) Incase of multiuser installation, start installer using root account&lt;br /&gt;11) For additional language, you must use OAM (oracle applications manager)&lt;br /&gt;12) There is new concept of INST_TOP which mainly stores instance specific files including runtime files, log files and configuration files&lt;br /&gt;13) In R12 there are Services concept instead of nodes (forms/web/concurrent). Following is the list of services in R12 :&lt;br /&gt;* Root Service Group which supports • Oracle Process Manager (OPMN)&lt;br /&gt;* Web Entry Point Services which supports • HTTP Server&lt;br /&gt;* Web Application Services which supports • OACORE OC4J • Forms OC4J • OAFM OC4J&lt;br /&gt;Batch Processing Services which supports • Applications TNS Listener • Concurrent Managers • Fulfillment Server&lt;br /&gt;Other Service Group which supports • Oracle Forms Services • Oracle MWA Service&lt;br /&gt;* : Thses services must be installed on same / one machine (which is nothing but Web node, according to 11i )&lt;br /&gt;14) Regardless of type of services confugured on perticular server, all files (forms, reports, jsp) are stored in APPL_TOP (Unified), basically to have pure 3 tier arch&lt;br /&gt;15) Installer gives option to configure OCM (Oracle configuration manager) where in OCM keeps track of key Oracle and OS stats. This collected data is sent to oracle support via https for better understanding of issues and quick resulations to any issues reported&lt;br /&gt;&lt;br /&gt;Main points about Upgrade: &lt;br /&gt;1) You can only upgrade to R12 from 11i, if you are at older version (like 10.7 or 11.0.3 etc), you must upgrade first to 11i, and then upgrade to R12&lt;br /&gt;2) High level R12 Upgrade process :&lt;br /&gt;• Run rapid installer first time to layout new file structure and tech stack&lt;br /&gt;• Migrate or Upgrade database to 10g R2&lt;br /&gt;• Run Autopatch to run database driver to bring DB to R12 level&lt;br /&gt;• Run rapid installer second time to configure and start services&lt;br /&gt;&lt;br /&gt;Admin Scripts:&lt;br /&gt;&lt;br /&gt;adautocfg.sh - run autoconfig&lt;br /&gt;adstpall.sh - stop all services&lt;br /&gt;adstrtal.sh - start all services&lt;br /&gt;adapcctl.sh - start/stop/status Apache only&lt;br /&gt;adformsctl.sh - start/stop/status OC4J Forms&lt;br /&gt;adformsrvctl.sh - start/stop/status Forms server in socket mode&lt;br /&gt;adoacorectl.sh - start/stop/status OC4J oacore&lt;br /&gt;adoafmctl.sh - start/stpp/status OC4J oafm&lt;br /&gt;adopmnctl.sh - start/stop/status opmn&lt;br /&gt;adalnctl.sh - start/stop RPC listeners (FNDFS/FNDSM)&lt;br /&gt;adcmctl.sh - start/stop Concurrent Manager&lt;br /&gt;gsmstart.sh - start/stop FNDSM&lt;br /&gt;jtffmctl.sh - start/stop Fulfillment Server&lt;br /&gt;adpreclone.pl - Cloning preparation script&lt;br /&gt;adexecsql.pl - Execute sql scripts that update the profiles in an AutoConfig run&lt;br /&gt;java.sh - Call java executable with additional args, (used by opmn, Conc. Mgr)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-8818712933357786244?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/8818712933357786244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=8818712933357786244' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/8818712933357786244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/8818712933357786244'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2010/01/useful-information-upgrade-applications.html' title='Useful information - Upgrade applications 11i to r12'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-2001428890932715102</id><published>2009-12-23T22:59:00.000-08:00</published><updated>2010-01-06T09:27:42.114-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Redhat Linux'/><title type='text'>Install Symantec Tape Backup Exec Agent on Linux</title><content type='html'>The following are the steps of installing Symantec Tape Backup Exec Agent on Redhat Linux operating system after which the Backup Exec application can start taking backup on Tape drives from the Redhat Linux OS file system.&lt;br /&gt;&lt;br /&gt;1. Copy the agent gnuzipped file to the server in /tmp/symantec folder, then extract the contents,&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;# gunzip BEWS_12.5.2213_LINUX-UNIX-MAC-SAP_AGENTS.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;# tar -xvf BEWS_12.5.2213_LINUX-UNIX-MAC-SAP_AGENTS.tar&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;[root@srdodb symantec]# ls &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;BEWS_12.5.2213_LINUX-UNIX-MAC-SAP_AGENTS.tar  &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;installrams.pl  &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;RALUS64         &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;tools               uninstallrmalDOCS                                          installrmal     ralusinst.conf  uninstallralus      uninstallrmal.plinstallralus                                  installrmal.pl  RALUSx86        uninstallralus.cmd  VxIFinstallralus.cmd                              messages        ramsinst.conf   uninstallralus.pl   winntinstallralus.pl                               perl            rmalinst.conf   uninstallramsinstallrams                                   pkgs            scripts         uninstallrams.pl&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2. Now update the hosts file and add the tape backup server entry in it,&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;[root@srdodb symantec]# vi /etc/hosts&lt;/span&gt;&lt;br /&gt;# Do not remove the following line, or various programs&lt;br /&gt;# that require network functionality will fail.&lt;br /&gt;127.0.0.1         localhost.localdomain localhost::1             localhost6.localdomain6&lt;br /&gt;192.168.1.82   srdodb&lt;br /&gt;192.168.2.60  tapebkupsrv&lt;br /&gt;&lt;br /&gt;3. Shutdown the database and/or other applicaitons that are not requrired at this time, and start installing the agent now&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;[root@srdodb symantec]# ./installralus&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#000000;"&gt;Symantec Backup Exec for Windows Servers Remote Agent for Linux/Unix Servers 12.5.2213&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Enter the system names separated by spaces on which to install RALUS: (srdodb.domain.local)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Checking system communication:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Checking OS version on srdodb.domain.local ....................................................... Linux 2.6.18-128.el5&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Checking system support for srdodb.domain.local ............................... Linux 2.6.18-128.el5 supported by RALUS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Initial system check completed successfully.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Press [Return] to continue:&lt;br /&gt;                   Symantec Backup Exec for Windows Servers Remote Agent for Linux/Unix Servers 12.5.2213&lt;br /&gt;installralus will install the following RALUS packages on Linux target system: srdodb.domain.local&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;VRTSralus        Symantec Backup Exec for Windows Servers Remote Agent for Linux/Unix Servers&lt;br /&gt;Press [Return] to continue:&lt;br /&gt;                   Symantec Backup Exec for Windows Servers Remote Agent for Linux/Unix Servers 12.5.2213&lt;br /&gt;Checking system installation requirements:&lt;br /&gt;Checking RALUS installation requirements on Linux target systems: &lt;span style="color:#cc0000;"&gt;srdodb.domain.local&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#cc0000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Checking RALUS installation requirements on srdodb.domain.local:&lt;br /&gt;    Checking file system space ............................................................. required space is available&lt;br /&gt;Installation requirements checks completed successfully.&lt;br /&gt;Press [Return] to continue:    Checking for prerequistes .................... Done    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Checking for Port 10000 ...................................................................... Done&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;                                           Remote Agent Media Server Configuration&lt;br /&gt;&lt;br /&gt;To display the Remote Agent as a selection in a media server's backup selection tree, and to be able to specify a local&lt;br /&gt;network for use between the Remote Agent and a media server, enter the names or IP addresses of the media servers that you&lt;br /&gt;want the Remote Agent to communicate with.&lt;br /&gt;&lt;br /&gt;An IP Address: XXX.XXX.XXX.XXX        A Host Name: COMPUTERNAME&lt;br /&gt;Enter a directory host:&lt;span style="color:#cc0000;"&gt;192.168.2.60&lt;/span&gt;&lt;br /&gt;Do you want to add another name or address for this agent? [y, n] (n)&lt;span style="color:#cc0000;"&gt;n&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;/span&gt;&lt;br /&gt;Remote Agent User Group Setup&lt;br /&gt;&lt;br /&gt;To perform backups, you must have a 'beoper' user group. This user group can be created only if you are not using NIS server.&lt;br /&gt;Your system will be scanned to detect a NIS server, group and membership.&lt;br /&gt;&lt;br /&gt;Press [Return] to continue:   &lt;br /&gt;Checking if system uses NIS server: ............................................................................ No&lt;br /&gt;The installer will now check your system for the 'beoper' user group and root membership.&lt;br /&gt;Press [Return] to continue:    Checking for 'beoper' user group: ........................................................................ Not Found   &lt;br /&gt;&lt;br /&gt;Checking for 'root' user membership in 'beoper' user group: .............................................. Not Found&lt;br /&gt;You can create 'beoper' user group manually or you can choose to have it created automatically.&lt;br /&gt;&lt;br /&gt;Do you want installer to create 'beoper' user group? [y, n] &lt;span style="color:#cc0000;"&gt;(y)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;/span&gt;&lt;br /&gt;Do you want to use specific group ID when creating 'beoper' user group? [y, n] &lt;span style="color:#cc0000;"&gt;(n)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;br /&gt;&lt;/span&gt;    Creating group 'beoper': ...................................................................................... Done&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Do you want to add the 'root' user to 'beoper' user group? [y, n] &lt;span style="color:#cc0000;"&gt;(y)&lt;/span&gt;&lt;br /&gt;    Adding 'root' user to 'beoper' user group: ................................................................... Done&lt;br /&gt;&lt;br /&gt;Press [Return] to continue:&lt;br /&gt;                   Symantec Backup Exec for Windows Servers Remote Agent for Linux/Unix Servers 12.5.2213&lt;br /&gt;&lt;br /&gt;Checking Symantec Backup Exec for Windows Servers Remote Agent for Linux/Unix Servers on srdodb.domain.local:&lt;br /&gt;    Checking VRTSralus package ........................................................................... not installed&lt;br /&gt;&lt;br /&gt;Press [Return] to continue:&lt;br /&gt;&lt;br /&gt;                   Symantec Backup Exec for Windows Servers Remote Agent for Linux/Unix Servers 12.5.2213&lt;br /&gt;Installing Symantec Backup Exec for Windows Servers Remote Agent for Linux/Unix Servers on srdodb.domain.local:&lt;br /&gt;&lt;br /&gt;    Installing VRTSralus 12.5.2213 on egdodb.qia.local ............................................... done 1 of 1 steps&lt;br /&gt;Symantec Backup Exec for Windows Servers Remote Agent for Linux/Unix Servers installation completed successfully.&lt;br /&gt;Press [Return] to continue:    Copying new initialization scripts .................................. Done   &lt;br /&gt;Creating RALUS linkedname in rc2.d ............................................................................ Done   &lt;br /&gt;Creating RALUS linkedname in rc3.d ............................................................................ Done   &lt;br /&gt;Creating RALUS linkedname in rc5.d ............................................................................ Done   &lt;br /&gt;Updating RALUS files for beoper .................................................................................... Done&lt;br /&gt;&lt;br /&gt;                   Symantec Backup Exec for Windows Servers Remote Agent for Linux/Unix Servers 12.5.2213&lt;br /&gt;&lt;br /&gt;Configuring Symantec Backup Exec for Windows Servers Remote Agent for Linux/Unix Servers:&lt;br /&gt;&lt;br /&gt;    Creating configuration files ........................................................................................ Done&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#cc0000;"&gt;Symantec Backup Exec for Windows Servers Remote Agent for Linux/Unix Servers configured successfully.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Press [Return] to continue:&lt;br /&gt;The response file is saved at:&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;    /var/tmp/vxif/installralus1223014409/installralus1223014409.response&lt;br /&gt;&lt;/span&gt;The installralus log is saved at:&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;    /var/tmp/vxif/installralus1223014409/installralus.log&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;color:#000000;"&gt;4. To start, stop or restart the agent use the following command,&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#990000;"&gt;[root@egdodb init.d]# cd /etc/init.d&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#990000;"&gt;[root@egdodb init.d]# ls VR*&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;VRTSralus.init&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;[root@egdodb init.d]# ./VRTSralus.init status&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Symantec Backup Exec Remote Agent for Linux/Unix Servers&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Usage: VRTSralus.init { start  stop  restart }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;[root@egdodb init.d]# ./VRTSralus.init stop&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Stopping Symantec Backup Exec Remote Agent ...............Stopping &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Symantec Backup Exec Remote Agent:                              [  OK  ]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;[root@egdodb init.d]# ./VRTSralus.init start&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Starting Symantec Backup Exec Remote Agent ......Starting &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Symantec Backup Exec Remote Agent:                              [  OK  ]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;5. Now finally from the Tape backup server i.e, from Symantec Backup Exec application test a new backup job by picking some files/folders to include in the tape backup. Also test the restore on linux and windows server.&lt;br /&gt;&lt;br /&gt;Good...Great...I found the similar setup on Symantec site...follow the link,&lt;br /&gt;&lt;br /&gt;http://seer.entsupport.symantec.com/docs/282010.htm&lt;br /&gt;&lt;br /&gt;For any queries please don't hesitate to contact me.&lt;br /&gt;email: &lt;a href="mailto:masamimalik@yahoo.com"&gt;masamimalik@yahoo.com&lt;/a&gt;&lt;br /&gt;Tel: +9743164959.&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-2001428890932715102?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/2001428890932715102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=2001428890932715102' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/2001428890932715102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/2001428890932715102'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/12/install-symantec-tape-backup-exec-agent.html' title='Install Symantec Tape Backup Exec Agent on Linux'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-6733289463469637530</id><published>2009-11-16T02:22:00.001-08:00</published><updated>2009-11-16T02:27:13.988-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle General'/><title type='text'>How to know if a patch requires downtime?</title><content type='html'>1. Download the particular patch file&lt;br /&gt;2. Check the file ..\\etc\config\inventory&lt;br /&gt;3. If the following entry is present&lt;br /&gt;(instance_shutdown) true (/instance_shutdown)&lt;br /&gt;&lt;br /&gt;then it requires downtime. &lt;br /&gt;&lt;br /&gt;Note: OPatch means rdbms patch.&lt;br /&gt;For rdbms patch go to OPatch dorectory and select /etc/config/inventory&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-6733289463469637530?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/6733289463469637530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=6733289463469637530' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/6733289463469637530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/6733289463469637530'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/11/how-to-know-if-patch-requires-downtime.html' title='How to know if a patch requires downtime?'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-1365179644393103235</id><published>2009-11-01T01:33:00.000-07:00</published><updated>2009-11-01T01:34:44.190-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Redhat Linux'/><title type='text'>Copy files using ssh</title><content type='html'>you can't copy using the 'ssh' program specifically, but you can with it's associated programs: sftp or scp&lt;br /&gt;&lt;br /&gt;sftp is (and works) similar to ftp&lt;br /&gt;&lt;br /&gt;scp is a neat little program:&lt;br /&gt;&lt;br /&gt;copy from a remote machine to my machine:&lt;br /&gt;scp asami@192.168.1.100:/home/remote_user/Desktop/file.txt /home/me/Desktop/file.txt&lt;br /&gt;&lt;br /&gt;copy from my machine to a remote machine:&lt;br /&gt;scp /home/me/Desktop/file.txt asami@192.168.1.100:/home/remote_user/Desktop/file.txt&lt;br /&gt;&lt;br /&gt;copy all file*.txt from a remote machine to my machine (file01.txt, file02.txt, etc.; note the quotation marks:&lt;br /&gt;scp "asami@192.168.1.100:/home/remote_user/Desktop/file*.txt" /home/me/Desktop/file.txt&lt;br /&gt;&lt;br /&gt;copy a directory from a remote machien to my machine:&lt;br /&gt;scp -r asami@192.168.1.100:/home/remote_user/Desktop/files /home/me/Desktop/.&lt;br /&gt;&lt;br /&gt;see 'man scp' or 'man sftp' for more ...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-1365179644393103235?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/1365179644393103235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=1365179644393103235' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/1365179644393103235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/1365179644393103235'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/11/copy-files-using-ssh.html' title='Copy files using ssh'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-6740136885423560155</id><published>2009-10-21T00:52:00.001-07:00</published><updated>2009-10-21T00:56:09.184-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Instances'/><title type='text'>emctl upload - disk full error</title><content type='html'>Today when I tried to run the command 'emctl upload' I got the following error,&lt;br /&gt;&lt;br /&gt;-bash-$ emctl upload agent&lt;br /&gt;Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.&lt;br /&gt;Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.&lt;br /&gt;---------------------------------------------------------------&lt;br /&gt;EMD upload error: Upload was successful but collections currently disabled - disk full&lt;br /&gt;&lt;br /&gt;#From Metalink note 317242.1&lt;br /&gt;&lt;br /&gt;#Cause&lt;br /&gt;The EMD disk system shows used percent at 99%.&lt;br /&gt;The agent default for space required for upload files is 98%.&lt;br /&gt;The collections will stop when the space on the disk is beyond that.&lt;br /&gt;&lt;br /&gt;#Solution&lt;br /&gt;To implement the solution, please execute the following steps:&lt;br /&gt;1. Update the AGENT OH/sysman/config/emd.properties with the parameter:uploadMaxDiscUsedPct=99uploadMaxDiskUsedPctFloor=99&lt;br /&gt;2. Stop the agent: emctl stop agent&lt;br /&gt;3. Start the agent: emctl start agent&lt;br /&gt;4. Upload to the OMS: emctl upload&lt;br /&gt;&lt;br /&gt;This resolved the issue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-6740136885423560155?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/6740136885423560155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=6740136885423560155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/6740136885423560155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/6740136885423560155'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/10/emctl-upload-disk-full-error.html' title='emctl upload - disk full error'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-3636100675764090124</id><published>2009-10-13T03:49:00.000-07:00</published><updated>2009-10-15T00:50:22.942-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Redhat Linux'/><title type='text'>Samba server configuration</title><content type='html'>I am writing this as I was doing Samba share configuration between linux and windows machines. &lt;br /&gt;&lt;br /&gt;Samba Overview:&lt;br /&gt;---------------&lt;br /&gt;1. Uses Session Message Block (SMB) protocol. &lt;br /&gt;2. The most typical reason to use Samba is to allow windows machine and linux machine to interact.&lt;br /&gt;3. Simple to Complex configurations.&lt;br /&gt;4. Easy to manage as there is one main Samba Configuration file /etc/samba/smb.conf&lt;br /&gt;&lt;br /&gt;We are going to setup a Linux box so that certain directories and files are shared and we can control how they are shared weather it should be read only or read write.  Then from the windows machine we can access that linux share and vice versa. You can also interact between two linux machines using Samba protocol.&lt;br /&gt;&lt;br /&gt;Smb.conf layout:&lt;br /&gt;----------------&lt;br /&gt;There are 4 special sections in Samba configuration files as given below,&lt;br /&gt;&lt;br /&gt;[global] Global Configuration Settings&lt;br /&gt;[homes] Shares users home directories -&gt; Any setting in home section will override the global settings.&lt;br /&gt;[printers] Define shared printer access&lt;br /&gt;[userdefined] This will be a user defined section&lt;br /&gt;&lt;br /&gt;Example of a user defined section is as given below,&lt;br /&gt;&lt;br /&gt;[myshare]&lt;br /&gt;path = /u01/app/oracle/oradata/orcl &lt;--directory to share&lt;br /&gt;writable = true &lt;--people can write to this directory&lt;br /&gt;valid users = samiora &lt;-- only samiora can access this directory&lt;br /&gt;browsable = yes &lt;-- other users can read this directory but cannot write to it&lt;br /&gt;create mode = 0700 &lt;-- this is chmod for this directory for the owner ie. here it is rwx for the owner.&lt;br /&gt;&lt;br /&gt;There are zillion (exaggerating) more parameters used for different settings like require passwords, limit by host, limit by time of day etc.&lt;br /&gt;&lt;br /&gt;Login in as root and query if the following rpm's are installed or not if the following packages are not available then firstly install them using rpm command,&lt;br /&gt;&lt;br /&gt;#rpm -ivh &lt;package name&gt;&lt;br /&gt;&lt;br /&gt;[root@egdodb samba]# rpm -qa | grep xinetd&lt;br /&gt;xinetd-2.3.14-10.el5&lt;br /&gt;&lt;br /&gt;[root@egdodb samba]# rpm -qa | grep samba&lt;br /&gt;samba-common-3.0.33-3.7.el5&lt;br /&gt;samba-3.0.33-3.7.el5&lt;br /&gt;samba-common-3.0.33-3.7.el5&lt;br /&gt;samba-client-3.0.33-3.7.el5&lt;br /&gt;system-config-samba-1.2.41-3.el5&lt;br /&gt;&lt;br /&gt;Configuring Samba:&lt;br /&gt;------------------&lt;br /&gt;You can configure samba by various ways, like manually updating the smb.conf file, using yast utility on suse linux, using SWAT Samba Web Admin Tool and using 'webmin' web based tool. The following is the manual way of updating the smb.conf file,&lt;br /&gt;&lt;br /&gt;Update the smb.conf file manually and then run the 'testparm' command to validate the smb.conf file entries,&lt;br /&gt;&lt;br /&gt;[root@egdodb samba]# testparm smb.conf&lt;br /&gt;&lt;br /&gt;Load smb config files from smb.conf&lt;br /&gt;Processing section "[homes]"&lt;br /&gt;Processing section "[printers]"&lt;br /&gt;Loaded services file OK.&lt;br /&gt;Server role: ROLE_STANDALONE&lt;br /&gt;Press enter to see a dump of your service definitions&lt;br /&gt;&lt;br /&gt;[global]&lt;br /&gt;        workgroup = MYGROUP&lt;br /&gt;        server string = Samba Server Version %v&lt;br /&gt;        passdb backend = tdbsam&lt;br /&gt;        cups options = raw&lt;br /&gt;&lt;br /&gt;[homes]&lt;br /&gt;        comment = Home Directories&lt;br /&gt;        read only = No&lt;br /&gt;        browseable = No&lt;br /&gt;&lt;br /&gt;[printers]&lt;br /&gt;        comment = All Printers&lt;br /&gt;        path = /var/spool/samba&lt;br /&gt;        printable = Yes&lt;br /&gt;        browseable = No&lt;br /&gt;&lt;br /&gt;[myshare]&lt;br /&gt;        workgroup = &lt;domainnamehere&gt;&lt;br /&gt;        &lt;br /&gt;&lt;br /&gt;To check the status of samba server service running or not issue the following command,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[root@egdodb samba]# service smb status&lt;br /&gt;smbd is stopped&lt;br /&gt;nmbd is stopped&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-3636100675764090124?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/3636100675764090124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=3636100675764090124' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/3636100675764090124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/3636100675764090124'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/10/samba-server-configuration.html' title='Samba server configuration'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-7335845090029295753</id><published>2009-08-17T01:44:00.000-07:00</published><updated>2009-08-17T02:12:29.737-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>Useful SQL Scripts for Oracle Applications</title><content type='html'>&lt;div align="left"&gt;&lt;table style="width: 622px; height: 371px;" border="1" cellpadding="8" cellspacing="3"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td colspan="2" width="598" valign="top"&gt;  &lt;ol&gt;&lt;li&gt;  &lt;div align="left"&gt;&lt;span style="font-size:180%;"&gt;Users Connected through application&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="84"&gt; &lt;p class="western"&gt;&lt;strong&gt;Purpose&lt;/strong&gt; &lt;/p&gt;&lt;/td&gt; &lt;td width="496"&gt; &lt;p class="western"&gt;To get the list of users connected. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="84"&gt; &lt;p class="western"&gt;&lt;strong&gt;Description&lt;/strong&gt; &lt;/p&gt;&lt;/td&gt; &lt;td width="496"&gt; &lt;p class="western"&gt;Query gives the list of users connected to the application &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="84"&gt; &lt;p class="western"&gt;&lt;strong&gt;Parameters&lt;/strong&gt; &lt;/p&gt;&lt;/td&gt; &lt;td width="496"&gt; &lt;p class="western"&gt;None &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="84" valign="top"&gt; &lt;p class="western"&gt;&lt;strong&gt;Query&lt;/strong&gt; &lt;/p&gt;&lt;/td&gt; &lt;td width="496"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SELECT&lt;/span&gt; user_name username,&lt;br /&gt;description name,&lt;br /&gt;to_char(b.first_connect,'MM/DD/RR HH24:MI') firstconnect,&lt;br /&gt;to_char(b.last_connect,'MM/DD/RR HH24:MI') lastconnect&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;FROM&lt;/span&gt; apps.fnd_user a,&lt;br /&gt;(&lt;span style="color: rgb(51, 102, 255);"&gt;SELECT&lt;/span&gt; MIN (first_connect) first_connect,&lt;br /&gt;MAX (last_connect) last_connect, last_updated_by user_id&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;FROM&lt;/span&gt; apps.icx_sessions&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;GROUP BY&lt;/span&gt; last_updated_by) b&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;WHERE &lt;/span&gt;a.user_id = b.user_id&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;AND &lt;/span&gt;last_connect&gt;SYSDATE-3/12&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;ORDER BY&lt;/span&gt; 4 DESC&lt;br /&gt;/&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;&lt;table width="622" border="1" cellpadding="8" cellspacing="3"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan="2" width="598" valign="top"&gt;  &lt;ol&gt;&lt;li&gt;  &lt;div align="left"&gt;&lt;span style="font-size:180%;"&gt;Responsibilities Listing&lt;/span&gt;&lt;/div&gt; &lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="84"&gt; &lt;p class="western"&gt;&lt;strong&gt;Purpose&lt;/strong&gt; &lt;/p&gt;&lt;/td&gt;&lt;td width="496"&gt; &lt;p class="western"&gt;To get list of responsibilities. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="84"&gt; &lt;p class="western"&gt;&lt;strong&gt;Description&lt;/strong&gt; &lt;/p&gt;&lt;/td&gt;&lt;td width="496"&gt; &lt;p class="western"&gt;Query useful when user wants to get application wise  responsibility list &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="84"&gt; &lt;p class="western"&gt;&lt;strong&gt;Parameters&lt;/strong&gt; &lt;/p&gt;&lt;/td&gt;&lt;td width="496"&gt; &lt;p class="western"&gt;None &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="84" valign="top"&gt; &lt;p class="western"&gt;&lt;strong&gt;Query&lt;/strong&gt; &lt;/p&gt;&lt;/td&gt;&lt;td width="496"&gt;  &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  application_short_name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fnd_application fa&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fa&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; frt&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; application&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;frt&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;responsibility_id&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; frt&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;responsibility_name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; apps&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fnd_responsibility_tl frt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;img alt="" src="http://docs.google.com/File?id=dkg3r3j_335f5zb2xhr" width="623" align="bottom" border="0" height="375" /&gt; &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;div align="left"&gt; &lt;table width="622" border="1" cellpadding="8" cellspacing="3"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td colspan="2" width="598" valign="top"&gt; &lt;ol&gt;&lt;li&gt; &lt;p class="western"&gt;&lt;span style="font-size:180%;"&gt;Menus Listing&lt;/span&gt; &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Purpose &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;To get Menus Associated with responsibility &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Description &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;User to check menu attached with a reponsilblity &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Parameters &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier,monospace;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;responsibility_id Which user can get from query of section  &lt;/span&gt;&lt;/span&gt;&lt;strong&gt;Responsibilities Listing&lt;/strong&gt;&lt;/span&gt; &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="79" valign="top"&gt; &lt;p class="western"&gt;Query &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt;  &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;DISTINCT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;responsibility_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; c&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;user_menu_name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; apps&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fnd_responsibility_tl a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;apps&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fnd_responsibility b&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;apps&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fnd_menus_tl c&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;apps&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fnd_menus d&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;apps&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fnd_application_tl e&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;apps&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fnd_application f&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;responsibility_id&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(+)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  b&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;responsibility_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;responsibility_id = ‘&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;20538’&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; b&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;menu_id  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; c&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;menu_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; b&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;menu_id  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; d&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;menu_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; e&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; b&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.LANGUAGE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'US';&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;&lt;img alt="" src="http://docs.google.com/File?id=dkg3r3j_336hmg6kzgn" width="398" align="bottom" border="0" height="145" /&gt;&lt;/span&gt; &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;div align="left"&gt; &lt;table width="622" border="1" cellpadding="8" cellspacing="3"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td colspan="2" width="598" valign="top"&gt; &lt;ol&gt;&lt;li&gt; &lt;p class="western"&gt;&lt;span style="font-size:180%;"&gt;Submenu And Function Listing&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Purpose &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;To get submenus and Function attached to this Main menu.  &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Description &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;By using this query user can check function and submenus  attached to that specific menu &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Parameters &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier,monospace;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;User_menu_name Which user can get from query of section  &lt;/span&gt;&lt;/span&gt;&lt;strong&gt;Menu Listing&lt;/strong&gt;&lt;/span&gt; &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="79" valign="top"&gt; &lt;p class="western"&gt;Query &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt;  &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  c&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;prompt&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; c&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;description&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; apps&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fnd_menus_tl a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fnd_menu_entries_tl c&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;menu_id  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; c&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;menu_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;user_menu_name &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'F4 UK PAY  Navigator';&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;&lt;img alt="" src="http://docs.google.com/File?id=dkg3r3j_337dv6bzxcw" width="589" align="bottom" border="0" height="296" /&gt;&lt;/span&gt; &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;div align="left"&gt; &lt;table width="622" border="1" cellpadding="8" cellspacing="3"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td colspan="2" width="598" valign="top"&gt; &lt;ol&gt;&lt;li&gt; &lt;p class="western"&gt;&lt;span style="font-size:180%;"&gt;User And Assigned Responsibility Listing&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Purpose &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;To get assigned responsibility to a user. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Description &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;User wants to check responsibility attached to a specific user  &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Parameters &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;None &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="79" valign="top"&gt; &lt;p class="western"&gt;Query &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt;  &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;UNIQUE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; u&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;user_id&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; SUBSTR &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;u&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;user_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;30&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; user_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;SUBSTR &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;r&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;responsibility_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; responsiblity&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;SUBSTR &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;50&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; application&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fnd_user u&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(128, 128, 0);"&gt;fnd_user_resp_groups&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; g&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;fnd_application_tl a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;fnd_responsibility_tl r&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; g&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;user_id&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(+)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; u&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;user_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; g&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;responsibility_application_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; r&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; g&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;responsibility_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; r&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;responsibility_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;ORDER&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;BY&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; SUBSTR  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;user_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;30&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;SUBSTR &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;50&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;SUBSTR &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;r&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;responsibility_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;img alt="" src="http://docs.google.com/File?id=dkg3r3j_338f2nhxhcj" width="752" align="bottom" border="0" height="390" /&gt; &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;div align="left"&gt; &lt;table width="622" border="1" cellpadding="8" cellspacing="3"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td colspan="2" width="598" valign="top"&gt; &lt;ol&gt;&lt;li&gt; &lt;p class="western"&gt;&lt;span style="font-size:180%;"&gt;Responsibility And Assigned Request Group  Listing&lt;/span&gt; &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Purpose &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;To get responsibility and attached request groups.  &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Description &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;Every responsibility contains a request group(request group is  basis of submitting requests) &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Parameters &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;None &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="79" valign="top"&gt; &lt;p class="western"&gt;Query &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt;  &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  responsibility_name responsibility&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; request_group_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; frg&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;description&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fnd_request_groups frg&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(128, 128, 0);"&gt;fnd_responsibility_vl&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; frv&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; frv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;request_group_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; frg&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;request_group_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;ORDER&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;BY&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  responsibility_name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;img alt="" src="http://docs.google.com/File?id=dkg3r3j_339ftz5wrd3" width="850" align="bottom" border="0" height="346" /&gt; &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;div align="left"&gt; &lt;table width="622" border="1" cellpadding="8" cellspacing="3"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td colspan="2" width="598" valign="top"&gt; &lt;ol&gt;&lt;li&gt; &lt;p class="western"&gt;&lt;span style="font-size:180%;"&gt;Profile Option With Modification Date and  User&lt;/span&gt; &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Purpose &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;To get modified profile options. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Description &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;Query used for audit point of view i.e. when a profile is  changed and by whom user &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Parameters &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;None &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="79" valign="top"&gt; &lt;p class="western"&gt;Query &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  t&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;user_profile_option_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; profile_option_value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; v&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;creation_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;v&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;last_update_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;v&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;creation_date &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;-&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; v&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;last_update_date &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;"Change Date"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;UNIQUE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  user_name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fnd_user&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; user_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  v&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;created_by&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;"Created  By"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; user_name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fnd_user&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; user_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  v&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;last_updated_by&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;"Last Update By"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fnd_profile_options o&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;fnd_profile_option_values v&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;fnd_profile_options_tl t&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; o&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;profile_option_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; v&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;profile_option_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; o&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; v&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; start_date_active &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;&lt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SYSDATE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; NVL &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;end_date_active&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SYSDATE)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SYSDATE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; o&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;profile_option_name &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; t&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;profile_option_name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; level_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;10001&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; t&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.LANGUAGE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;IN&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  language_code&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fnd_languages&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; installed_flag &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'B'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;UNION&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; nls_language&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fnd_languages&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; installed_flag &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'B'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;ORDER&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;BY&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  user_profile_option_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;img alt="" src="http://docs.google.com/File?id=dkg3r3j_340d722npgj" width="993" align="bottom" border="0" height="466" /&gt; &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;div align="left"&gt; &lt;table width="622" border="1" cellpadding="8" cellspacing="3"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td colspan="2" width="598" valign="top"&gt; &lt;ol&gt;&lt;li&gt; &lt;p class="western"&gt;&lt;span style="font-size:180%;"&gt;Forms Personalization Listing&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Purpose &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;To get modified profile options. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Description &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Personalization is feature  available in 11.5.10.X.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;For More detail on form Personalization Use Following Tables  (Rule_id) is reference key for these tables&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;strong&gt;applsys.fnd_form_custom_actions&lt;/strong&gt;,  &lt;strong&gt;applsys.fnd_form_custom_scopes&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Parameters &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;None &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="79" valign="top"&gt; &lt;p class="western"&gt;Query &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt;  &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  ffft&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;user_function_name  &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;"User Form Name"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; ffcr&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.SEQUENCE,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;ffcr&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;description&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; ffcr&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;rule_type&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; ffcr&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;enabled&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; ffcr&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;trigger_event&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;ffcr&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;trigger_object&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; ffcr&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;condition&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; ffcr&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fire_in_enter_query&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; user_name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fnd_user fu&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fu&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;user_id  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; ffcr&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;created_by&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;"Created  By "&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fnd_form_custom_rules ffcr&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(128, 128, 0);"&gt;fnd_form_functions_vl&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  ffft&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; ffcr&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;ID  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; ffft&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;function_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;ORDER&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;BY&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;1;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;img alt="" src="http://docs.google.com/File?id=dkg3r3j_341g2tkw4zs" width="1108" align="bottom" border="0" height="358" /&gt; &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;div align="left"&gt; &lt;table width="622" border="1" cellpadding="8" cellspacing="3"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td colspan="2" width="598" valign="top"&gt; &lt;ol&gt;&lt;li&gt; &lt;p class="western"&gt;&lt;span style="font-size:180%;"&gt;Patch Level Listing&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Purpose &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;To get Patch Level. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Description &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;Query used to view the patch level status of all modules  &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Parameters &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;None &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="79" valign="top"&gt; &lt;p class="western"&gt;Query &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt;  &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;DECODE &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;b&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;status&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'I'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Installed'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'S'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Shared'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'N/A'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; status&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;patch_level&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; apps&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(128, 128, 0);"&gt;fnd_application_vl&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; apps&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fnd_product_installations  b&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; a&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; b&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western"&gt;&lt;br /&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;img alt="" src="http://docs.google.com/File?id=dkg3r3j_342cwzgtzk4" width="433" align="bottom" border="0" height="367" /&gt; &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;div align="left"&gt; &lt;table width="622" border="1" cellpadding="8" cellspacing="3"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td colspan="2" width="598" valign="top"&gt; &lt;ol&gt;&lt;li&gt; &lt;p class="western"&gt;&lt;span style="font-size:180%;"&gt;Function Listing &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Purpose &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;To get all Functions &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Description &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;Complete forms and functions &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Parameters &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;None &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="79" valign="top"&gt; &lt;p class="western"&gt;Query &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt;  &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  function_id&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  user_function_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  creation_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  description&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; applsys&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fnd_form_functions_tl&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;order&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;by&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; order by  user_function_name;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;img alt="" src="http://docs.google.com/File?id=dkg3r3j_343gdppt5pm" width="1060" align="bottom" border="0" height="454" /&gt; &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;div align="left"&gt; &lt;table width="622" border="1" cellpadding="8" cellspacing="3"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td colspan="2" width="598" valign="top"&gt; &lt;ol&gt;&lt;li&gt; &lt;p class="western"&gt;&lt;span style="font-size:180%;"&gt;Request Attached To Responsibility Listing&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Purpose &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;To get all Request attached to a responsibility &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Description &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;View all request who have attached to a reponsiblity  &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Parameters &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;None &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="79" valign="top"&gt; &lt;p class="western"&gt;Query &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  responsibility_name &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  frg&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;request_group_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;fcpv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;user_concurrent_program_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fcpv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;description&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fnd_request_groups frg&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;fnd_request_group_units frgu&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(128, 128, 0);"&gt;fnd_concurrent_programs_vl&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  fcpv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(128, 128, 0);"&gt;fnd_responsibility_vl&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  frv&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; frgu&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;request_unit_type &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'P'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; frgu&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;request_group_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; frg&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;request_group_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; frgu&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;request_unit_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fcpv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;concurrent_program_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; frv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;request_group_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; frg&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;request_group_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;ORDER&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;BY&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  responsibility_name;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;  &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;img alt="" src="http://docs.google.com/File?id=dkg3r3j_344c6vxdvhh" width="924" align="bottom" border="0" height="373" /&gt; &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;div align="left"&gt; &lt;table width="622" border="1" cellpadding="8" cellspacing="3"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td colspan="2" width="598" valign="top"&gt; &lt;ol&gt;&lt;li&gt; &lt;p class="western"&gt;&lt;span style="font-size:180%;"&gt;Request Listing Application Wise&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Purpose &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;To get all request with application &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Description &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;View all types of request Application wise &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Parameters &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;None &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="79" valign="top"&gt; &lt;p class="western"&gt;Query &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  fa&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_short_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fcpv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;user_concurrent_program_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;description&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;DECODE &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fcpv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;execution_method_code&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'B'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Request  Set Stage Function'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Q'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'SQL*Plus'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'H'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Host'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'L'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'SQL*Loader'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'A'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Spawned'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'I'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'PL/SQL  Stored Procedure'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'P'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Oracle  Reports'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'S'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Immediate'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;fcpv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;execution_method_code&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; exe_method&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;output_file_type&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; program_type&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; printer_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; minimum_width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;minimum_length&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; concurrent_program_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  concurrent_program_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(128, 128, 0);"&gt;fnd_concurrent_programs_vl&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fcpv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  fnd_application fa&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fcpv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fa&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;ORDER&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;BY&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; description&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;img alt="" src="http://docs.google.com/File?id=dkg3r3j_345f7x2sjc3" width="958" align="bottom" border="0" height="363" /&gt; &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;div align="left"&gt; &lt;table width="622" border="1" cellpadding="8" cellspacing="3"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td colspan="2" width="598" valign="top"&gt; &lt;ol&gt;&lt;li&gt; &lt;p class="western"&gt;&lt;span style="font-size:180%;"&gt;Count Module Wise Reports&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Purpose &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;To Count Module Wise Report &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Description &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;Application wise request counting &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Parameters &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;None &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="79" valign="top"&gt; &lt;p class="western"&gt;Query &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt;  &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  fa&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_short_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;DECODE &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fcpv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;execution_method_code&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'B'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Request  Set Stage Function'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Q'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'SQL*Plus'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'H'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Host'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'L'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'SQL*Loader'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'A'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Spawned'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'I'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'PL/SQL  Stored Procedure'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'P'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Oracle  Reports'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'S'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Immediate'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;fcpv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;execution_method_code&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; exe_method&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;COUNT &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;concurrent_program_id&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; COUNT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(128, 128, 0);"&gt;fnd_concurrent_programs_vl&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fcpv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  fnd_application fa&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fcpv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fa&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;GROUP&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;BY&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fa&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_short_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; fcpv&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;execution_method_code&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;ORDER&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;BY&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;img alt="" src="http://docs.google.com/File?id=dkg3r3j_346gqh9mcck" width="522" align="bottom" border="0" height="372" /&gt; &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;div align="left"&gt; &lt;table width="1041" border="1" cellpadding="8" cellspacing="3"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td colspan="2" width="1017" valign="top"&gt; &lt;ol&gt;&lt;li&gt; &lt;p class="western"&gt;&lt;span style="font-size:180%;"&gt;Request Status Listing  &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Purpose &lt;/p&gt;&lt;/td&gt; &lt;td width="919"&gt; &lt;p class="western"&gt;To calculate request time &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Description &lt;/p&gt;&lt;/td&gt; &lt;td width="919"&gt; &lt;p class="western"&gt;This query will shows report processing time &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Parameters &lt;/p&gt;&lt;/td&gt; &lt;td width="919"&gt; &lt;p class="western"&gt;None &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="79" valign="top"&gt; &lt;p class="western"&gt;Query &lt;/p&gt;&lt;/td&gt; &lt;td width="919"&gt;  &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;SELECT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;request_id &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; pt&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;user_concurrent_program_name  user_concurrent_program_name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_start_date  actual_start_date&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_completion_date  actual_completion_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;floor&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(((&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_completion_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;-&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_start_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;24&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)/&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;3600&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;|| &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;' HOURS  '&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; ||&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;floor&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;((((&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_completion_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;-&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_start_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;24&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;floor&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(((&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_completion_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;-&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_start_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;24&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)/&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;3600&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;3600&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)/&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;|| &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;' MINUTES  '&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; ||&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;round&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;((((&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_completion_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;-&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_start_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;24&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;floor&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(((&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_completion_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;-&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_start_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;24&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)/&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;3600&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;3600&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;floor&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;((((&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_completion_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;-&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_start_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;24&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;floor&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(((&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_completion_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;-&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_start_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;24&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)/&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;3600&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;3600&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)/&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)*&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;60&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;))&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;|| &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;' SECS  '&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; time_difference&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  DECODE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;p&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;concurrent_program_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'ALECDC'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;p&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;concurrent_program_name||&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'['&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;||f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;description||&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;']'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;p&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;concurrent_program_name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; concurrent_program_name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  decode&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;phase_code&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'R'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Running'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'C'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Complete'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;phase_code&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; Phase&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;status_code&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;FROM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  apps&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fnd_concurrent_programs p&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  apps&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fnd_concurrent_programs_tl pt&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  apps&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;fnd_concurrent_requests f&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;WHERE&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;concurrent_program_id  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; p&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;concurrent_program_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;and&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;program_application_id  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; p&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;and&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;concurrent_program_id  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; pt&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;concurrent_program_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;and&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;program_application_id  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; pt&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;application_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;AND&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  pt&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.language&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; USERENV&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;'Lang'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;and&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_start_date  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;is&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;not&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;null&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;ORDER&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;by&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_completion_date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;-&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;f&lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;actual_start_date &lt;/span&gt;&lt;span style="color: rgb(0, 0, 240);"&gt;desc;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;img alt="" src="http://docs.google.com/File?id=dkg3r3j_347dq99g2gs" width="1232" align="bottom" border="0" height="368" /&gt; &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;div align="left"&gt; &lt;table width="622" border="1" cellpadding="8" cellspacing="3"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td colspan="2" width="598" valign="top"&gt; &lt;ol&gt;&lt;li&gt; &lt;p class="western"&gt;&lt;span style="font-size:180%;"&gt;User And Responsibility Listing  &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Purpose &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;Check responsibility assigned to a specific USER &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Description &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;&lt;br /&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Parameters &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;None &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="79" valign="top"&gt; &lt;p class="western"&gt;Query &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt;  &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;SELECT UNIQUE u.user_id, SUBSTR  (u.user_name, 1, 30) user_name, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;SUBSTR (r.responsibility_name, 1, 60)  responsiblity, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;SUBSTR (a.application_name, 1, 50)  application &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;FROM fnd_user u, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;fnd_user_resp_groups g,  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;fnd_application_tl a, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;fnd_responsibility_tl r  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;WHERE g.user_id(+) = u.user_id  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;AND g.responsibility_application_id =  a.application_id &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;AND a.application_id = r.application_id  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;AND g.responsibility_id =  r.responsibility_id &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;and a.application_name = 'Purchasing'  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;ORDER BY SUBSTR (user_name, 1, 30),  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;SUBSTR (a.application_name, 1, 50),  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;SUBSTR (r.responsibility_name, 1,  60)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;img alt="" src="http://docs.google.com/File?id=dkg3r3j_348gzqn5822" width="677" align="bottom" border="0" height="381" /&gt; &lt;/p&gt; &lt;div align="left"&gt; &lt;table width="622" border="1" cellpadding="8" cellspacing="3"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td colspan="2" width="598" valign="top"&gt; &lt;ol&gt;&lt;li&gt; &lt;p class="western"&gt;&lt;span style="font-size:180%;"&gt;Applied Patch Listing  &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Purpose &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;Check Current Applied Patch &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Description &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;This shows the applied patch list.&lt;br /&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="79"&gt; &lt;p class="western"&gt;Parameters &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western"&gt;None &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="79" valign="top"&gt; &lt;p class="western"&gt;Query &lt;/p&gt;&lt;/td&gt; &lt;td width="500"&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;SELECT patch_name, patch_type,  maint_pack_level, creation_date&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western" style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;FROM  applsys.ad_applied_patches&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="western"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;ORDER BY  creation_date DESC&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0in;" align="left"&gt;&lt;img alt="" src="http://docs.google.com/File?id=dkg3r3j_349dh2jjqd5" width="628" align="bottom" border="0" height="373" /&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-7335845090029295753?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/7335845090029295753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=7335845090029295753' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7335845090029295753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7335845090029295753'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/08/useful-sql-scripts-for-oracle.html' title='Useful SQL Scripts for Oracle Applications'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-4053043029775651176</id><published>2009-07-12T01:30:00.000-07:00</published><updated>2009-07-12T01:42:14.920-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Application Server'/><title type='text'>How to Change/Reset ias_admin Password</title><content type='html'>— &lt;strong&gt;ias_admin&lt;/strong&gt; is user required to use Enterprise Manager Web (Application Server Console - iASConsole) Site.&lt;br /&gt;&lt;br /&gt;— &lt;strong&gt;ias_admin password &lt;/strong&gt;is set during Installation of Oracle Application Server (902, 904, 10.1.2.X) or Oracle Identity Management (Infra Tier 10.1.4.X)—ias_admin account is NOT stored in OID (Oracle Internet Directory), It is stored in XML file (JAZN-XML - Java AuthoriZatioN)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How to Reset / Change ias_admin Password &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;You can reset/change ias_admin password in following ways&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;1. Using Enterprise Manager (Application Server Control) Web Site&lt;br /&gt;–Login to Instance Home Page&lt;br /&gt;–Click on Preferences on top right&lt;br /&gt;–In new screen, click on “Change Password” on left menu&lt;br /&gt;–Enter current password and New Password&lt;br /&gt;&lt;br /&gt;2. Using Command line tool&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;emctl set password oldpassword new password&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;like&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;emctl set password welcome1 welcome2 &lt;/span&gt;(Here welcome1 is current ias_admin password and welcome2 is new password which you wish to reset)&lt;br /&gt;&lt;br /&gt;If you don’t know current ias_admin password then change it in configuration file&lt;br /&gt;&lt;br /&gt;3. Change ias_admin password directly in configuration file&lt;br /&gt;–Backup $ORACLE_HOME/sysman/j2ee/config/jazn-data.xml&lt;br /&gt;–Search for xml entry like below&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&amp;lt; user &amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;&amp;lt; name &amp;gt;&lt;strong&gt;&lt;span style="color:#cc0000;"&gt; ias_admin&lt;/span&gt;&lt;/strong&gt;&lt;/name&gt; &amp;lt; / &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;span style="color:#cc0000;"&gt;&lt;span style="color:#3366ff;"&gt;&amp;lt; credentials &amp;gt;&lt;/span&gt;&lt;strong&gt;{903}8QkQ/crno3lX0f3+67dj6WxW9KJMXaCu&lt;/strong&gt;&lt;/span&gt;&lt;/credentials&gt; &amp;lt; / credentials &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&amp;lt; /user &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:#3333ff;"&gt;&lt;/user&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;and Update new password (welcome2 like )&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;user&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#3333ff;"&gt;&lt;name&gt;&amp;lt; user &amp;gt;&amp;lt; name &amp;gt; &lt;strong&gt;&lt;span style="color:#990000;"&gt;ias_admin&lt;/span&gt;&lt;/strong&gt; &amp;lt; / &amp;gt;&lt;br /&gt;&amp;lt; credentials &amp;gt; &lt;strong&gt;&lt;span style="color:#990000;"&gt;!welcome2&lt;/span&gt;&lt;/strong&gt; / credentials &amp;gt;&lt;br /&gt;&amp;lt; /user &amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000000;"&gt;Note ! (Exclamation Mark in front of password. This signifies that password is stored in clear text)&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-4053043029775651176?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/4053043029775651176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=4053043029775651176' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/4053043029775651176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/4053043029775651176'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/07/how-to-changereset-iasadmin-password.html' title='How to Change/Reset ias_admin Password'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-4103343834152502310</id><published>2009-07-08T23:02:00.000-07:00</published><updated>2009-07-08T23:06:59.521-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Dataguard'/><title type='text'>Renaming/Dropping and recreating online redo logs and Standby logfiles</title><content type='html'>If you are in process of testing Dataguard with Physical standby and After created Primary and Standby DB's you realize that u haven't put file names as per your standard. So I would recommend you to do the following,&lt;br /&gt;rename both, online redo logs and standby logs.&lt;br /&gt;Follow these steps to do it,&lt;br /&gt;&lt;br /&gt;1. Following is the script to identify all log files we have&lt;br /&gt;SELECT GROUP#, BYTES, 'ONLINE' AS TYPE FROM V$LOG&lt;br /&gt;UNION&lt;br /&gt;SELECT GROUP#, BYTES, 'STANDBY' AS TYPE FROM V$STANDBY_LOG&lt;br /&gt;ORDER BY 1;&lt;br /&gt;2. Make sure protection mode is MAXPERFORMANCE:&lt;br /&gt;SELECT PROTECTION_MODE, PROTECTION_LEVEL, DATABASE_ROLE FROM V$DATABASE&lt;br /&gt;&lt;br /&gt;First we start working on Standby database&lt;br /&gt;3. STOP redo apply&lt;br /&gt;ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;&lt;br /&gt;4. Set STANDBY_FILE_MANAGEMENT to MANUAL.&lt;br /&gt;ALTER SYSTEM SET STANDBY_FILE_MANAGEMENT='MANUAL';&lt;br /&gt;5. Gather current status of all member.&lt;br /&gt;SQL&gt; select member from v$logfile;&lt;br /&gt;6. Prepare command to drop standby redo logfiles.&lt;br /&gt;select 'alter database drop standby logfile group ' group# ';' from v$standby_log;&lt;br /&gt;7. Prepare command to drop online redo logfiles.&lt;br /&gt;select 'alter database drop logfile group ' group# ';' from v$log;&lt;br /&gt;8. Check the status of online redolog group.&lt;br /&gt;SELECT GROUP#, STATUS FROM V$LOG;&lt;br /&gt;GROUP# STATUS&lt;br /&gt;---------- ----------------&lt;br /&gt;1 CLEARING_CURRENT&lt;br /&gt;3 CLEARING&lt;br /&gt;2 CLEARING&lt;br /&gt;We can not drop CLEARING_CURRENT status logs, for that you have sync with Primary (Easy way is, leave them for a while and move ahead with droping Primary Database redo logs, and come back to Standby and you will be able to do it).&lt;br /&gt;9. Clear the log group first before drop.&lt;br /&gt;ALTER DATABASE CLEAR LOGFILE GROUP 1;&lt;br /&gt;10. Now drop online redo log.&lt;br /&gt;alter database drop logfile group 1;&lt;br /&gt;Follow the same process for rest of the groups.&lt;br /&gt;11. Now drop standby redo logs, leave the one which refuses to drop.&lt;br /&gt;alter database drop standby logfile group 5;&lt;br /&gt;12. Now create new online redo logs.&lt;br /&gt;ALTER DATABASE ADD LOGFILE GROUP 1 '/path/redo_01.dbf' SIZE 10M;&lt;br /&gt;13. Now we will crate standby redo logs.&lt;br /&gt;ALTER DATABASE ADD STANDBY LOGFILE '/path/redo_std_by_05.dbf' SIZE 10M REUSE;&lt;br /&gt;14. Again check the current status of member.&lt;br /&gt;select member from v$logfile;&lt;br /&gt;&lt;br /&gt;Now you will see latest updated names for all files. The one which left we can do them after We are done with Primary DB.&lt;br /&gt;&lt;br /&gt;Now on Primary Database:&lt;br /&gt;15. Follow step 5,6,7 to know current status and prepare commands.&lt;br /&gt;16. Drop Standby redo logs and recreate them&lt;br /&gt;alter database drop standby logfile group 5;&lt;br /&gt;ALTER DATABASE ADD STANDBY LOGFILE '/path/redo_std_by_05.dbf' SIZE 10M REUSE;&lt;br /&gt;17. Drop online Redo logs, recrate, switch and drop next inactive one.&lt;br /&gt;alter database drop logfile group 1;&lt;br /&gt;ALTER DATABASE ADD LOGFILE GROUP 1 '/path/redo_01.dbf' SIZE 10M;&lt;br /&gt;ALTER SYSTEM SWITCH LOGFILE;&lt;br /&gt;SELECT GROUP#, STATUS FROM V$LOG;&lt;br /&gt;18. Check the new status.&lt;br /&gt;select member from v$logfile;&lt;br /&gt;&lt;br /&gt;Now come back to Standby Database back and drop recreate left over online and standby redo logs.&lt;br /&gt;19. Set STANDBY_FILE_MANAGEMENT to AUTO.&lt;br /&gt;ALTER SYSTEM SET STANDBY_FILE_MANAGEMENT='AUTO';&lt;br /&gt;20. start redo apply.&lt;br /&gt;ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;&lt;br /&gt;21. Check the status of applied log again.&lt;br /&gt;select sequence#, applied from v$archived_log;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-4103343834152502310?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/4103343834152502310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=4103343834152502310' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/4103343834152502310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/4103343834152502310'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/07/renamingdropping-and-recreating-online.html' title='Renaming/Dropping and recreating online redo logs and Standby logfiles'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-7113100449685514070</id><published>2009-07-05T23:33:00.001-07:00</published><updated>2009-07-05T23:51:15.802-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server'/><title type='text'>SS Cannot open user default database</title><content type='html'>&lt;strong&gt;Sql Server 2005: Cannot open user default database: Login Failed&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Last month I attended training for Microsoft SQL Server 2008 Administration. It was a nice experience and something new for me to learn. During the training I was thanking god that I took a right direction in taking oracle as my career path than microsoft technology. :-)&lt;br /&gt;&lt;br /&gt;Immediately after joining back in office I was given a task to move the entire sql server database from c-drive to f-drive for a reporting/auditing application called SCOM. It was quite easy to DETACH and ATTACH the database from c-drive to f-drive. But I faced a problem when I detached a database that was a default database. It was throwing following error when I tried to start the management studio,&lt;br /&gt;&lt;br /&gt;"Cannot open user default database, login fails"&lt;br /&gt;&lt;br /&gt;After some links on the web, I could resolve the issue,&lt;br /&gt;&lt;br /&gt;I used the sqlcmd utility to change the default database in SQL Server 2005 to master database.&lt;br /&gt;To do this, I follow these steps:&lt;br /&gt;&lt;br /&gt;1. Click Start, click Run, type cmd, and then press ENTER.&lt;br /&gt;2. Use one of the following methods, depending on the kind of authentication that the SQL Server login uses:&lt;br /&gt;&lt;br /&gt;• If the SQL Server login uses Microsoft Windows authentication to connect to the instance which my instance was using, i typed the following at the command prompt, and then pressed ENTER:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;sqlcmd –E -d master&lt;br /&gt;ALTER LOGIN [QIA\OpsMgrAdmin] WITH DEFAULT_DATABASE=master&lt;br /&gt;GO&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;• If the SQL Server login used SQL Server authentication to connect to the instance, then I would have typed the following at the command prompt, and then pressed ENTER:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#cc0000;"&gt;sqlcmd -S InstanceName -d master -U SQLLogin -P Password&lt;br /&gt;ALTER LOGIN SQLLogin WITH DEFAULT_DATABASE = AvailDBName&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;sqlcmd -S InstanceName -d master -U sa -P Password&lt;br /&gt;ALTER LOGIN sa WITH DEFAULT_DATABASE = master&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;Anyway it was nice experience and the task was completed after following the above commands to troubleshoot the issue. Thanks to the training to understand Microsoft Sql Server 2008 Database architecture.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-7113100449685514070?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/7113100449685514070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=7113100449685514070' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7113100449685514070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7113100449685514070'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/07/ss-cannot-open-user-default-database.html' title='SS Cannot open user default database'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-1425850782912883049</id><published>2009-05-20T00:48:00.000-07:00</published><updated>2009-05-20T00:58:17.773-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle General'/><title type='text'>How many Archive files got generated today?</title><content type='html'>To find how many archive log files that got generated everyday on hourly basis, Here is the script:&lt;br /&gt;&lt;br /&gt;/* archlogs.sql&lt;br /&gt;find the number of archivelogs each hour of the day&lt;br /&gt;*/&lt;br /&gt;col MidN format 999&lt;br /&gt;col 1AM format 999&lt;br /&gt;col 2AM format 999&lt;br /&gt;col 3AM format 999&lt;br /&gt;col 4AM format 999&lt;br /&gt;col 5AM format 999&lt;br /&gt;col 6AM format 999&lt;br /&gt;col 7AM format 999&lt;br /&gt;col 8AM format 999&lt;br /&gt;col 9AM format 999&lt;br /&gt;col 10AM format 999&lt;br /&gt;col 11AM format 999&lt;br /&gt;col Noon format 999&lt;br /&gt;col 1PM format 999&lt;br /&gt;col 2PM format 999&lt;br /&gt;col 3PM format 999&lt;br /&gt;col 4PM format 999&lt;br /&gt;col 5PM format 999&lt;br /&gt;col 6PM format 999&lt;br /&gt;col 7PM format 999&lt;br /&gt;col 8PM format 999&lt;br /&gt;col 9PM format 999&lt;br /&gt;col 10PM format 999&lt;br /&gt;col 11PM format 999&lt;br /&gt;select to_char(first_time,'mm/dd/yy') logdate,&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'00',1,0)) "MidN",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'01',1,0)) "1AM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'02',1,0)) "2AM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'03',1,0)) "3AM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'04',1,0)) "4AM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'05',1,0)) "5AM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'06',1,0)) "6AM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'07',1,0)) "7AM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'08',1,0)) "8AM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'09',1,0)) "9AM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'10',1,0)) "10AM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'11',1,0)) "11AM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'12',1,0)) "Noon",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'13',1,0)) "1PM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'14',1,0)) "2PM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'15',1,0)) "3PM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'16',1,0)) "4PM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'17',1,0)) "5PM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'18',1,0)) "6PM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'19',1,0)) "7PM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'20',1,0)) "8PM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'21',1,0)) "9PM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'22',1,0)) "10PM",&lt;br /&gt;sum(decode(to_char(first_time,'hh24'),'23',1,0)) "11PM"&lt;br /&gt;from v$log_history&lt;br /&gt;group by to_char(first_time,'mm/dd/yy')&lt;br /&gt;order by 1&lt;br /&gt;&lt;br /&gt;The output would look like this,&lt;br /&gt;LOGDATE MidN 1AM 2AM 3AM 4AM 5AM 6AM 7AM 8AM 9AM 10AM 11AM Noon 1PM 2PM 3PM 4PM 5PM 6PM 7PM 8PM 9PM 10PM 11PM &lt;br /&gt;05/07/09 0 0 0 0 0 0 0 0 0 0 1 4 1 1 2 2 40 2 1 2 1 2 1 2&lt;br /&gt;05/08/09 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1 1 2 1 1 1 2 1 1 1&lt;br /&gt;05/09/09 2 1 1 1 2 1 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1 2 1 1&lt;br /&gt;05/10/09 1 1 2 1 1 1 2 1 1 2 2 1 2 1 1 1 2 1 1 1 2 1 1 1&lt;br /&gt;05/11/09 1 2 1 1 1 2 1 1 1 2 1 1 2 1 1 2 1 1 1 2 1 1 1 2&lt;br /&gt;05/12/09 1 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1&lt;br /&gt;05/13/09 1 2 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1 1 2 1&lt;br /&gt;05/14/09 1 1 2 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1 1 2&lt;br /&gt;05/15/09 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1 1 2 1 1 1&lt;br /&gt;05/16/09 2 1 1 1 2 1 1 1 2 1 1 1 1 2 1 1 1 2 1 1 1 2 1 1&lt;br /&gt;05/17/09 1 2 1 1 1 2 1 1 1 2 2 1 3 2 1 1 2 1 1 1 2 1 1 1&lt;br /&gt;05/18/09 1 2 1 1 1 2 1 1 1 2 1 2 2 1 2 1 1 1 2 1 1 1 2 1&lt;br /&gt;05/19/09 1 1 1 2 1 1 1 2 1 1 1 2 1 2 1 2 1 1 1 2 1 1 1 1&lt;br /&gt;05/20/09 2 1 1 1 2 1 1 1 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-1425850782912883049?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/1425850782912883049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=1425850782912883049' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/1425850782912883049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/1425850782912883049'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/05/how-many-archive-log-files-generated.html' title='How many Archive files got generated today?'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-3744540113071655876</id><published>2009-05-10T02:00:00.000-07:00</published><updated>2009-05-10T02:03:59.686-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>Installing Apps 11i on a Laptop for practicing</title><content type='html'>Hardware used.&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;Windows XP professional SP2 laptop with 1 GB RAM&lt;br /&gt;External hard drive with 250 GB space&lt;br /&gt;-- DO NOT USE FAT32 FILE SYSTEM. USE ONLY NTFS.&lt;br /&gt;-- installation files downloaded from edelivery.oracle.com is 25 GB.&lt;br /&gt;-- staging area needs 19.7 GB.&lt;br /&gt;-- base installation with Vision database needs about 110 GB.&lt;br /&gt;&lt;br /&gt;Pre-requisite software requirements.&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;1. Microsoft VC++ - http://msdn.microsoft.com/vstudio/express/visualc/download/&lt;br /&gt;2. CYGWIN - http://cygwin.com/&lt;br /&gt;&lt;br /&gt;NOTE - There is no need for perl or to run the staging script adautostg.pl. You can just use winzip to unzip the files, there is no difference.&lt;br /&gt;&lt;br /&gt;Software installation files downloaded from edelivery.oracle.com.&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;NOTE - There is no need to download all the files from edelivery.oracle.com. Just download the following files, rest are optional. Also, the forms, reports, discoverer, etc. tools are included in the following files (although there are separate files in the media pack set on edelivery.oracle.com).&lt;br /&gt;&lt;br /&gt;1. Oracle® Applications 11i Release 11.5.10.2 Rapid Install Start Here - Disk 1&lt;br /&gt;2. Oracle® Applications 11i Release 11.5.10.2 for Microsoft Windows Rapid Install RDBMS - Disk 1&lt;br /&gt;3. Oracle® Applications 11i Release 11.5.10.2 for Microsoft Windows Rapid Install Databases - Disk 1&lt;br /&gt;4. Oracle® Applications 11i Release 11.5.10.2 for Microsoft Windows Rapid Install Databases - Disk 2&lt;br /&gt;5. Oracle® Applications 11i Release 11.5.10.2 for Microsoft Windows Rapid Install Databases - Disk 3&lt;br /&gt;6. Oracle® Applications 11i Release 11.5.10.2 for Microsoft Windows Rapid Install Tools - Disk 1&lt;br /&gt;7. Oracle® Applications 11i Release 11.5.10.2 for Microsoft Windows Rapid Install APPL_TOP - Disk 1&lt;br /&gt;&lt;br /&gt;Installation steps.&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;1. Add the following to your c:\windows\system32\drivers\etc\hosts file. You can change domainname.com to any name that you prefer. This should be used as the domain while installing Oracle Applications.&lt;br /&gt;&lt;br /&gt;127.0.0.1 localhost&lt;br /&gt;127.0.0.1 localhost.domainname.com&lt;br /&gt;&lt;br /&gt;2. Go to Control Panel -&gt; Systems -&gt; Computer Name Tab -&gt; Click on Change -&gt; Click on More -&gt; Enter Primary DNS Suffix as 'domainname.com'.&lt;br /&gt;&lt;br /&gt;3. Go to your network connection, right click and select properties. Select Internet Connection TCP/IP (last in the list) and click properties. Click on Advanced button and go to DNS tab. Enter DNS suffix for this connection as &lt;br /&gt;'domainname.com'.&lt;br /&gt;&lt;br /&gt;4. Restart the PC.&lt;br /&gt;&lt;br /&gt;5. Install Microsoft VC++&lt;br /&gt;-- Remember to change the installation folder to C:\MSVC or something similar so that it does not have a space in the folder name. By default it takes Program Files, which will/may not work.&lt;br /&gt;&lt;br /&gt;6. Restart the PC.&lt;br /&gt;&lt;br /&gt;7. Download CYGWIN setup file and run it.&lt;br /&gt;-- Install it in C:\cgwin folder, with no spaces in the folder name.&lt;br /&gt;-- There are some important steps while installing CYGWIN detailed in metalink note 302859.1. If you do not have access to metalink, refer this link. &lt;br /&gt;http://forums.oracle.com/forums/thread.jspa?threadID=435071&lt;br /&gt;&lt;br /&gt;8. Restart the PC.&lt;br /&gt;&lt;br /&gt;9. Unzip the files downloaded from edelivery.oracle.com to the folder E:\Stage11i, where E is the drive where you have sufficient space (about 120 GB for Vision sample DB and about 60GB -- not sure -- for without data) and Stage11i is a folder that you have to create.&lt;br /&gt;&lt;br /&gt;10. Check that Stage11i has the following sub directories.&lt;br /&gt;oraAppDB, oraApps, oraDB, oraiAS, startCD. The total space occupied by Stage11i folder is about 19.7 GB. This is when you do not unzip any optional files (see details above in the s/w installation files section).&lt;br /&gt;&lt;br /&gt;11. Start rapidwiz by double clicking the file E:\Stage11i\startCD\Disk1\rapidwiz\RapidWiz.cmd.&lt;br /&gt;&lt;br /&gt;12. Follow the wizard, remember to put the path for MKS Toolkit as C:\cygwin\bin and not just C:\cygwin. Select the path for VC++ as C:\MSVC (or where ever you installed it - remember NO SPACES in directory name). Select domain name as what you gave in your hosts file (domainname.com).&lt;br /&gt;&lt;br /&gt;13. Refer the Oracle Apps installation guide for details on the wizard.&lt;br /&gt;&lt;br /&gt;14. The installation (rapidwiz) takes about three hours.&lt;br /&gt;&lt;br /&gt;15. Good luck.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-3744540113071655876?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/3744540113071655876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=3744540113071655876' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/3744540113071655876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/3744540113071655876'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/05/installing-apps-11i-on-laptop-for.html' title='Installing Apps 11i on a Laptop for practicing'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-7969062658226020586</id><published>2009-04-28T21:37:00.000-07:00</published><updated>2009-04-28T21:48:09.537-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>Upgrading discoverer 4i to 10g for 11i</title><content type='html'>&lt;strong&gt;Upgrading oracle discoverer 4i to Oracle Application server middle-tier 10g discoverer Component for oracle applications 11i&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;As you all know oracle has de-supported oracle discoverer 4i on applications 11i, therefore all DBA's will have at some point to upgrade their discoverer from 4i to 10g. &lt;br /&gt;&lt;br /&gt;Refer to note 313418.1 in order to do that upgrade, my post will just give you a direct hint on what to do.&lt;br /&gt;&lt;br /&gt;Steps are as follow based on note 313418.1:&lt;br /&gt;-Install Oracle Business Intelligence Server 10g Release 2 (10.1.2.0.2). This installation type does not require installation and association to Oracle Application Server 10g Release 2 (10.1.2.0.2) Infrastructure. (You can choose this option if you are not planning to use features Discoverer Connection Management, Discoverer Portlet Provider, and Oracle SSO).&lt;br /&gt;&lt;br /&gt;- Create secure directory under $Disco_ORACLE_HOME/discoverer&lt;br /&gt;cd /u07/discoverer_home/discoverer&lt;br /&gt;(mkdir secure)&lt;br /&gt;&lt;br /&gt;-cp the $FND_SECURE/.dbc , $FND_SECURE/_.dbc TO your $Disco_ORACLE_HOME/discoverer/secure directory.&lt;br /&gt;&lt;br /&gt;-Update tnsnames.ora file in $Disco_ORACLE_HOME to include connect to your Oracle E-Business database Use the same entry as exists in the tnsnames.ora file on your Oracle E-Business application tier server node.&lt;br /&gt;&lt;br /&gt;-Migrate your existing Discoverer End User Layers to Discoverer 10.1.2.&lt;br /&gt;$Disco_ORACLE_HOME/bin/eulapi -CONNECT /@ -AUTO_UPGRADE&lt;br /&gt;&lt;br /&gt;-Set Applications Profile Options for Discoverer using AutoConfig&lt;br /&gt;-open your xml file and specify variables as listed in the table below:&lt;br /&gt;s_disco_standalone=true&lt;br /&gt;s_disco_machine=for example: srpora03.us.oracle.com&lt;br /&gt;s_disco_port=for example: 7778&lt;br /&gt;s_disco_protocol=http https&lt;br /&gt;s_disco_ver_comma=10,1,2&lt;br /&gt;s_disco_eul_prefix=EUL &lt;br /&gt;&lt;br /&gt;After that you have to run autoconfig&lt;br /&gt;&lt;br /&gt;-Verify Applications profile options in Oracle Applications&lt;br /&gt;Log into Release 11i with the System Administrator responsibility&lt;br /&gt;Navigate to the Profile &gt; System form&lt;br /&gt;Query the %Discoverer% profile options.&lt;br /&gt;Verify the following ICX profile options in Oracle Applications&lt;br /&gt;&lt;br /&gt;ICX_DISCOVERER_LAUNCHER=http://:/discoverer/plus?Connect=[APPS_SECURE]&lt;br /&gt;ICX_DISCOVERER_VIEWER_LAUNCHER=http://:/discoverer/viewer?Connect=[APPS_SECURE]&lt;br /&gt;ICX_DISCOVERER_RELEASE=10&lt;br /&gt;ICX_DISCOVERER_USE_VIEWR=Y N&lt;br /&gt;ICX_DEFAULT_EUL=EUL&lt;br /&gt;ICX_DISCOVERER_EUL_LANGUAGE=US&lt;br /&gt;ICX_DISCOVERER_PARAMETERS=exitURL=http://:/OA_HTML/OA.jsp?OAFunc=OAHOMEPAGE&lt;br /&gt;&lt;br /&gt;Note:&lt;br /&gt;When you open the discoverer EUL using the Discoverer 10g Desktop/Admin it will ask you if you want to upgrade your EUL and you have to choose yes.&lt;br /&gt;&lt;br /&gt;To start/stop the new discoverer do the following:&lt;br /&gt;$Disco_ORACLE_HOME/opmn/bin/opmnctl stopall (to stop).&lt;br /&gt;$Disco_ORACLE_HOME/opmn/bin/opmnctl startall (to start).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-7969062658226020586?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/7969062658226020586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=7969062658226020586' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7969062658226020586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7969062658226020586'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/04/upgrading-discoverer-4i-to-10g-on-apps.html' title='Upgrading discoverer 4i to 10g for 11i'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-7578881383398034067</id><published>2009-04-25T23:21:00.000-07:00</published><updated>2009-04-26T01:19:29.578-07:00</updated><title type='text'>Empty emoms.properties file - Solution</title><content type='html'>When Oracle Management Service (OMS) filesystem is 100% full, you may loose &lt;oms_home&gt;/sysman/config/emoms.properties&lt;br /&gt;Actually the file will remain empty with size of zero bytes.&lt;br /&gt;A small file that can cause Grid Control not to function.&lt;br /&gt; &lt;br /&gt;emctl start oms&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;Could not find Console Server Port in /software/oracle/OEM10gR2/oms10g/sysman/config/emoms.properties&lt;br /&gt;&lt;br /&gt;Oracle claims that you have to install a new OMS instead of the old one. (Notes: 418453.1, 418159.1)&lt;br /&gt;&lt;br /&gt;After some struggles looking for the undocumented syntax of the file,&lt;br /&gt;I managed to make OMS working again.&lt;br /&gt; &lt;br /&gt;The lesson&lt;br /&gt;1. Always BACKUP&lt;br /&gt;2. Monitor the filesystem of OMS itself&lt;br /&gt;3. Create some jobs for deleting old logs and not needed archives.&lt;br /&gt;&lt;br /&gt;Anyway, This is the file to be created with the following content,&lt;br /&gt;&lt;br /&gt;emoms.properties&lt;br /&gt;#Sun Apr 26 7:00:00 2009&lt;br /&gt;oracle.sysman.emSDK.svlt.ConsoleServerName=oragridctl&lt;br /&gt;oracle.sysman.eml.mntr.emdRepPwd= write here an unencrypted password&lt;br /&gt;emdrep.ping.pingCommand=/bin/ping &lt;hostname&gt;&lt;br /&gt;oracle.sysman.eml.mntr.emdRepPort=1521&lt;br /&gt;oracle.sysman.eml.mntr.emdRepDBName=oem&lt;br /&gt;oracle.sysman.eml.mntr.emdRepPwdSeed= write here an unencrypted password&lt;br /&gt;oracle.sysman.emRep.dbConn.statementCacheSize=30&lt;br /&gt;(ADDRESS\=(PROTOCOL\=TCP)(HOST\=jigles)(PORT=1521)))(CONNECT_DATA\=(SERVICE_NAME\=oem)))&lt;br /&gt;oracle.sysman.db.isqlplusUrl=http\://oragridctl\:4889/isqlplus/dynamic&lt;br /&gt;oracle.sysman.emSDK.svlt.ConsoleServerPort=4889&lt;br /&gt;oracle.sysman.eml.mntr.emdRepRAC=FALSE&lt;br /&gt;oracle.sysman.emSDK.emd.rt.useMonitoringCred=true&lt;br /&gt;oracle.sysman.eml.mntr.emdRepPwdEncrypted=FALSE&lt;br /&gt;oracle.sysman.db.isqlplusWebDBAUrl=http\://oragridctl\:4889/isqlplus/dba/dynamic&lt;br /&gt;oracle.sysman.emSDK.svlt.ConsoleServerHost=oragridctl&lt;br /&gt;oracle.sysman.emSDK.svlt.ConsoleServerHTTPSPort=1156&lt;br /&gt;oracle.sysman.eml.mntr.emdRepSID=oem&lt;br /&gt;oracle.sysman.eml.mntr.emdRepServer=oragridctl&lt;br /&gt;oracle.sysman.emSDK.sec.ReuseLogonPassword=true&lt;br /&gt;oracle.sysman.eml.mntr.emdRepConnectDescriptor=&lt;br /&gt;oracle.sysman.emkeyfile=/software/oracle/OEM10gR2/oms10g/sysman/config/emkey.ora&lt;br /&gt;oracle.sysman.eml.mntr.emdRepUser=SYSMAN&lt;br /&gt;oracle.sysman.db.adm.conn.statementCacheSize=2&lt;br /&gt;oracle.sysman.db.perf.conn.statementCacheSize=30&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-7578881383398034067?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/7578881383398034067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=7578881383398034067' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7578881383398034067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7578881383398034067'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/04/empty-emomsproperties-file-solution.html' title='Empty emoms.properties file - Solution'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-8904251929533405611</id><published>2009-04-09T02:41:00.000-07:00</published><updated>2009-04-09T02:42:58.457-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle General'/><title type='text'>Manually Clone Database using RMAN</title><content type='html'>1) Connect to the target database using rman backup the database on node 1&lt;br /&gt;&lt;br /&gt;rman target /&lt;br /&gt;&lt;br /&gt;backup database;&lt;br /&gt;&lt;br /&gt;2) Move the following files to the NODE 2:&lt;br /&gt;- backup pieces&lt;br /&gt;- controlfile backup piece&lt;br /&gt;- the parameter file i.e init.ora file to the default location i.e $ORACLE_HOME/dbs&lt;br /&gt;&lt;br /&gt;3) Modify PFILE accordingly, invoke Rman on the node 2 after setting the Oracle environment variables and start the database in nomount mode:&lt;br /&gt;export ORACLE_HOME, ORACLE_SID, PATH&lt;br /&gt;&lt;br /&gt;$rman target /&lt;br /&gt;&lt;br /&gt;RMAN&gt; startup nomount;&lt;parameterfile&gt;&lt;br /&gt;&lt;br /&gt;4) Restore the controlfile from the backup piece.&lt;br /&gt;RMAN&gt; restore controlfile from ‘/node2/database/backup/c-3932056136-20070213-02′;&lt;br /&gt;&lt;br /&gt;5) Mount the database&lt;br /&gt;RMAN &gt; alter database mount&lt;br /&gt;&lt;br /&gt;6) Now catalog the backup pieces that was moved from NODE 1&lt;br /&gt;&lt;br /&gt;RMAN&gt; catalog backuppiece ‘/node2/database/backup/o1_mf_annn_TAG20070213T002925_2×21m6ty_.bkp’;&lt;br /&gt;&lt;br /&gt;7) Now restore the datafiles&lt;br /&gt;RMAN&gt; run&lt;br /&gt;{&lt;br /&gt;restore database;&lt;br /&gt;switch datafile all;&lt;br /&gt;recover database;&lt;br /&gt;alter database open resetlogs;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;also refer Note:419137.1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-8904251929533405611?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/8904251929533405611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=8904251929533405611' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/8904251929533405611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/8904251929533405611'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/04/manually-clone-database-using-rman.html' title='Manually Clone Database using RMAN'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-5363033217316578462</id><published>2009-03-29T21:43:00.000-07:00</published><updated>2009-03-29T21:50:16.383-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle General'/><title type='text'>Move controlfiles from the Filesystem to ASM</title><content type='html'>1. Identify the location of the current controlfile:&lt;br /&gt;&lt;br /&gt;SQL&gt; select name from v$controfile;&lt;br /&gt;NAME&lt;br /&gt;——————————————————————————–&lt;br /&gt;/opt/app/oracle/product/11/db_1/dbs/standby_control.ctl’&lt;br /&gt;&lt;br /&gt;2. Shutdown the database and start the instance:&lt;br /&gt;SQL&gt; shutdown normal&lt;br /&gt;SQL&gt; startup nomount&lt;br /&gt;&lt;br /&gt;3. Use RMAN to move the controlfile to ASM :&lt;br /&gt;&lt;br /&gt;rman target /&lt;br /&gt;&lt;br /&gt;RMAN&gt; restore controlfile to ‘+DATA’ from ‘/opt/app/oracle/product/11/db_1/dbs/standby_control.ctl’;&lt;br /&gt;&lt;br /&gt;Starting restore at 30-MAR-09&lt;br /&gt;using target database control file instead of recovery catalog&lt;br /&gt;allocated channel: ORA_DISK_1&lt;br /&gt;channel ORA_DISK_1: SID=539 device type=DISK&lt;br /&gt;channel ORA_DISK_1: copied control file copy&lt;br /&gt;Finished restore at 30-MAR-09&lt;br /&gt;&lt;br /&gt;RMAN&gt; exit&lt;br /&gt;&lt;br /&gt;We are only specifying the name of the diskgroup, so Oracle will create an OMF (Oracle Managed File). &lt;br /&gt;Use ASMCMD or sqlplus to identify the name assigned to the controlfile&lt;br /&gt;&lt;br /&gt;4. On the ASM instance, identify the name of the controlfile:&lt;br /&gt;&lt;br /&gt;Using ASMCMD:&lt;br /&gt;$ asmcmd&lt;br /&gt;ASMCMD&gt; pwd&lt;br /&gt;+data/standby/controlfile&lt;br /&gt;ASMCMD&gt; ls&lt;br /&gt;current.1384.681888623&lt;br /&gt;current.1385.681888685&lt;br /&gt;&lt;br /&gt;This is just the name assigned for the identical copy of the current controlfile.&lt;br /&gt;&lt;br /&gt;5. On the database side:&lt;br /&gt;&lt;br /&gt;* Modify init.ora or spfile, replacing the new path to the init parameter control_files.&lt;br /&gt;* if using init&lt;SID&gt;.ora, just modify the control_files parameter and restart the database.&lt;br /&gt;&lt;br /&gt;6. start the instance.&lt;br /&gt;&lt;br /&gt;Verify that new control file has been recognized. If the new controlfile was not used, the complete procedure needs to be repeated.&lt;br /&gt;&lt;br /&gt;7. SQL&gt; show parameter control_file&lt;br /&gt;&lt;br /&gt;NAME                                 TYPE        VALUE&lt;br /&gt;———————————— ———– ——————————&lt;br /&gt;control_file_record_keep_time        integer     7&lt;br /&gt;control_files                        string      +DATA/standby/controlfile/curr&lt;br /&gt;ent.1384.681888623, +DATA/standby/controlfile/current.1385.681888685&lt;br /&gt;&lt;br /&gt;NOTE : Steps 3 to 5 Could be repeated to multiplex the contolfiles to more than one on each diskgroup .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-5363033217316578462?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/5363033217316578462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=5363033217316578462' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/5363033217316578462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/5363033217316578462'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/03/move-controlfiles-from-filesystem-to.html' title='Move controlfiles from the Filesystem to ASM'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-3107262898623061748</id><published>2009-03-28T23:51:00.000-07:00</published><updated>2009-03-29T00:07:13.737-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle ASM'/><title type='text'>Copy ASM Files with DBMS_FILE_TRANSFER</title><content type='html'>You can copy ASM Files using DBMS_FILE_TRANSFER pl/sql package. Lets see how to copy an archive log file from ASM storage to local disk.&lt;br /&gt;&lt;br /&gt;RMAN&gt; sql 'alter system switch logfile';&lt;br /&gt;sql statement: alter system switch logfile&lt;br /&gt;&lt;br /&gt;RMAN&gt; crosscheck archivelog all;&lt;br /&gt;released channel: ORA_DISK_1allocated channel: ORA_DISK_1channel ORA_DISK_1: sid=129 instance=rdba1 devtype=DISKvalidation succeeded for archived logarchive log filename=+FRA/rdba/archivelog/2009_03_29/thread_1_seq_2197.485.682769833 recid=490 stamp=682769833Crosschecked 1 objects&lt;br /&gt;&lt;br /&gt;RMAN&gt; exit&lt;br /&gt;Recovery Manager complete.&lt;br /&gt;&lt;br /&gt;C:\&gt;sqlplus / as sysdba&lt;br /&gt;&lt;br /&gt;SQL&gt; create directory XXARCsrc as '+FRA/rdba/archivelog/2009_03_29';&lt;br /&gt;Directory created.&lt;br /&gt;&lt;br /&gt;SQL&gt; create directory XXARCdest as 'C:\';&lt;br /&gt;Directory created.&lt;br /&gt;&lt;br /&gt;SQL&gt; grant read, write on directory XXARCsrc to public;&lt;br /&gt;Grant succeeded.&lt;br /&gt;&lt;br /&gt;SQL&gt; grant read,write on directory XXARCdest to public;&lt;br /&gt;Grant succeeded.&lt;br /&gt;&lt;br /&gt;SQL&gt; execute dbms_file_transfer.copy_file('XXARCsrc','thread_1_seq_2197.485.682769833','XXARCdest','arc2197');&lt;br /&gt;&lt;br /&gt;Now look for the archive file arc2197 in local disk in c-drive.&lt;br /&gt;&lt;br /&gt;Note: This way you can copy any file from ASM to the disk.&lt;br /&gt;&lt;br /&gt;To view the files on ASM use the ASMCMD tool,&lt;br /&gt;&lt;br /&gt;SET oracle_home=C:\oracle\product\10.2.0\asm_1&lt;br /&gt;SET oracle_sid=+ASM1&lt;br /&gt;&lt;br /&gt;C:\&gt;asmcmd&lt;br /&gt;ASMCMD&gt; ls&lt;br /&gt;/BKP&lt;br /&gt;/DATA&lt;br /&gt;/FRA&lt;br /&gt;&lt;br /&gt;ASMCMD&gt; cd data&lt;br /&gt;ASMCMD&gt; ls&lt;br /&gt;RDBA/&lt;br /&gt;&lt;br /&gt;ASMCMD&gt; cd rdba&lt;br /&gt;&lt;br /&gt;C:\&gt;set oracle_home=C:\oracle\product\10.2.0\db_1&lt;br /&gt;&lt;br /&gt;C:\&gt;set oracle_sid=+ASM1&lt;br /&gt;&lt;br /&gt;C:\&gt;asmcmd&lt;br /&gt;ASMCMD&gt; ls&lt;br /&gt;BKP/&lt;br /&gt;DATA/&lt;br /&gt;FRA/&lt;br /&gt;&lt;br /&gt;ASMCMD&gt; cd data&lt;br /&gt;&lt;br /&gt;ASMCMD&gt; ls&lt;br /&gt;DB_UNKNOWN/&lt;br /&gt;RDBA/&lt;br /&gt;&lt;br /&gt;ASMCMD&gt; cd db_unknown&lt;br /&gt;ASMCMD&gt; ls&lt;br /&gt;PARAMETERFILE/&lt;br /&gt;&lt;br /&gt;ASMCMD&gt; cd parameterfile&lt;br /&gt;&lt;br /&gt;ASMCMD&gt; ls&lt;br /&gt;SPFILE.268.665669211&lt;br /&gt;&lt;br /&gt;ASMCMD&gt; cd ..&lt;br /&gt;ASMCMD&gt; cd ..&lt;br /&gt;ASMCMD&gt; cd rdba&lt;br /&gt;&lt;br /&gt;ASMCMD&gt; ls&lt;br /&gt;CONTROLFILE/&lt;br /&gt;DATAFILE/&lt;br /&gt;ONLINELOG/&lt;br /&gt;TEMPFILE/&lt;br /&gt;spfilemol.ora&lt;br /&gt;&lt;br /&gt;ASMCMD&gt; cd datafile&lt;br /&gt;&lt;br /&gt;ASMCMD&gt; ls&lt;br /&gt;ARCHDATA.279.667315727&lt;br /&gt;AUTOSCAN.278.667315457&lt;br /&gt;COMPANY.275.667315065&lt;br /&gt;COMPANY_IDX.273.667314429&lt;br /&gt;EMPLOYEE.271.667314047&lt;br /&gt;EMP_IDX.284.667316721&lt;br /&gt;EXAMPLE.264.663930173&lt;br /&gt;INDX.290.667317683&lt;br /&gt;INDX_MOL1.269.667313539&lt;br /&gt;INDX_MOL2.281.667316185&lt;br /&gt;MAIN_MOL.277.667315275&lt;br /&gt;MAIN_MOL.282.667316309&lt;br /&gt;MOL_DNRD.289.667317613&lt;br /&gt;MOL_DNRD_INDEX.288.667317545&lt;br /&gt;OTHERS.280.667315911&lt;br /&gt;OTHER_IDX.276.667315173&lt;br /&gt;SYSAUX.257.663930059&lt;br /&gt;SYSTEM.256.663930057&lt;br /&gt;TEMPORARAY.287.667317499&lt;br /&gt;TNT.272.667314321&lt;br /&gt;TNT_IDX.274.667314579&lt;br /&gt;TNT_IDX1.291.667317753&lt;br /&gt;TOOLS.285.667317351&lt;br /&gt;TUNE_INDEX.270.667313981&lt;br /&gt;UNDOTBS1.258.663930059&lt;br /&gt;UNDOTBS2.265.663930307&lt;br /&gt;USERS.259.663930059&lt;br /&gt;USR.286.667317429&lt;br /&gt;VISA_CANCEL_CHNG.283.667316489&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-3107262898623061748?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/3107262898623061748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=3107262898623061748' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/3107262898623061748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/3107262898623061748'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/03/copy-asm-files-with-dbmsfiletransfer.html' title='Copy ASM Files with DBMS_FILE_TRANSFER'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-4582910095922622830</id><published>2009-03-16T02:20:00.000-07:00</published><updated>2009-03-16T02:41:42.770-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>Apps 11i Technical Interview Question/Answers</title><content type='html'>&lt;strong&gt;How to know if a specific patch is installed or not?&lt;/strong&gt;&lt;br /&gt;SELECT * FROM AD_BUGS WHERE BUG_NUMBER=x&lt;patch&gt;;&lt;br /&gt;Here substitute x with patch number, &lt;patch&gt;and if the query returns a value means the patch is already applied.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;What is US directory in $AD_TOP or under various product TOP’s . &lt;/strong&gt;US directory is defauly language directory in Oracle Applications. If you have multiple languages Installed in your Applications then you will see other languages directories besides US, that directory will contain reports, fmx and other code in that respective directory like FR for France, AR for arabic, simplifies chinese or spanish.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What are main concurrent Manager types.&lt;br /&gt;&lt;/strong&gt;ICM - Internal Concurrent Manager which manages concurrent Managers&lt;br /&gt;Standard Managers - Which Manage processesing of requests.&lt;br /&gt;CRM - Conflict Resolution Managers , resolve conflicts in case of incompatibility.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What is difference between ICM, Standard Managers &amp;amp; CRM in Concurrent Manager?&lt;br /&gt;&lt;/strong&gt;ICM stand for Internal Concurrent Manager, which controls other managers. If it finds other managers down , it checks &amp;amp; try to restart them. You can say it as administrator to other concurrent managers. It has other tasks as well.&lt;br /&gt;Standard Manager These are normal managers which control/action on the requests &amp;amp; does batch or single request processing.&lt;br /&gt;CRM acronym for Conflict Resolution Manager is used to resolve conflicts between managers &amp;amp; request. If a request is submitted whose execution is clashing or it is defined not to run while a particular type of request is running then such requests are actioned/assigned to CRM for Incompatibilities &amp;amp; Conflict resolution.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Where is Concurrent Manager log file location.&lt;br /&gt;&lt;/strong&gt;By default standard location is $APPLCSF/$APPLLOG, in some cases it can go to $FND_TOP/log as well&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What is multi node system?&lt;br /&gt;&lt;/strong&gt;Multi Node System in Oracle Applications 11i means you have Applications 11i Component on more than one system. Typical example is Database; Concurrent Manager on one machine and forms, Web Server on second machine is example of Two Node System.&lt;br /&gt;ICM stand for Internal Concurrent Manager, which controls other managers. If it finds other managers down , it checks &amp;amp; try to restart them. You can say it as administrator to other concurrent managers. It has other tasks as well.&lt;br /&gt;Standard Manager These are normal managers which control/action on the requests &amp;amp; does batch or single request processing.&lt;br /&gt;CRM acronym for Conflict Resolution Manager is used to resolve conflicts between managers &amp;amp; request. If a request is submitted whose execution is clashing or it is defined not to run while a particular type of request is running then such requests are actioned/assigned to CRM for Incompatibilities &amp;amp; Conflict resolution.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Where is Concurrent Manager log file location. &lt;/strong&gt;&lt;br /&gt;By default standard location is $APPLCSF/$APPLLOG, in some cases it can go to $FND_TOP/log as well&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What is multi node system?&lt;br /&gt;&lt;/strong&gt;Multi Node System in Oracle Applications 11i means you have Applications 11i Component on more than one system. Typical example is Database; Concurrent Manager on one machine and forms, Web Server on second machine is example of Two Node System.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What is .dbc file, where its stored, what use of .dbc file?&lt;br /&gt;&lt;/strong&gt;dbc as name says is database connect descriptor file which stores database connection information used by application tier to connect to database. This file is in directory $FND_TOP/secure also called as FND_SECURE&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How to determine Oracle Apps 11i Version?&lt;br /&gt;&lt;/strong&gt;Select RELEASE_NAME from fnd_product_groups;&lt;br /&gt;You should see output like&lt;br /&gt;RELEASE_NAME&lt;br /&gt;———————–&lt;br /&gt;11.5.9 or 11.5.10.2&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Whats is TWO_TASK in Oracle Database? &lt;/strong&gt;&lt;br /&gt;TWO_TASK mocks your tns alias which you are going to use to connect to database. Lets assume you have database client with tns alias defined as PROD to connect to Database PROD on machine teachmeoracle.com listening on port 1521. Then usual way to connect is sqlplus username/passwd@PROD ; now if you don’t want to use @PROD then you set TWO_TASK=PROD and then can simply use sqlplus username/passwd then sql will check that it has to connect to tnsalias define by value PROD i.e. TWO_TASK&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What is GWYUID ?&lt;br /&gt;&lt;/strong&gt;GWYUID , stands for Gateway User ID and password. Usually like APPLSYSPUB/PUB&lt;br /&gt;Where GWYUID defined &amp;amp; what is its used in Oracle Applications?&lt;br /&gt;GWYUID is defined in dbc i.e. Database Connect Descriptor file. It is used to connect to database by think clients&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How to check number of forms users at any time?&lt;br /&gt;&lt;/strong&gt;Forms Connections initiate f60webmx connections so you can use&lt;br /&gt;ps -ef grep f60webmx wc -l&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What is 0 &amp;amp; Y in FNDCPASS, FNDLOAD or WFLOAD?&lt;br /&gt;&lt;/strong&gt;0 &amp;amp; Y are flags for FND Executable like FNDCPASS &amp;amp; FNDLOAD where&lt;br /&gt;0 is request id (request ID 0 is assigned to request ID’s which are not submitted via Submit Concurrent Request Form.&lt;br /&gt;‘Y’ indicates the method of invocation. i.e. it is directly invoked from the command-line not from the Submit Request Form.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;If your system has more than one Jinitiator, how will the system know, which one to pick. ?&lt;br /&gt;&lt;/strong&gt;When client makes a forms connection in Oracle Applications, forms client session uses configuration file defined by environment variable FORMS60_WEB_CONFIG_FILE also called as appsweb config file. These days this file is of format appsweb_$CONTEXT.cfg The initiator version number defined by parameter jinit_ver_name in this file will be used.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What are .ldt &amp;amp; .lct files which you see in apps patch or with FNDLOAD?&lt;br /&gt;&lt;/strong&gt;ldt &amp;amp; .lct stands for Loader datafile &amp;amp; Loader configuration files, used frequently in migrating customization, profile options, configuration data, etc.. across Instances.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What is dev60cgi &amp;amp; ifcgi60?&lt;/strong&gt;&lt;br /&gt;cgi stands for Common Gateway Interface and these are Script Alias in Oracle Apps used to access forms server . Usually Form Server access directly via &lt;a href="http://hostname:port/dev60cgi/ifcgi60"&gt;http://hostname:port/dev60cgi/ifcgi60&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What is difference between COMPILE_ALL=SPECIAL and COMPILE=ALL while compiling Forms?&lt;br /&gt;&lt;/strong&gt;Both the options will compile all the PL/SQL in the resultant .FMX, .PLX, or .MMX file but COMPILE_ALL=YES also changes the cached version in the source .FMB, .PLL, or .MMB file. This confuses version control and build tools (CVS, Subversion, make, scons); they believe you’ve made significant changes to the source. COMPILE_ALL=SPECIAL does not do this.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What is ps -ef or ps command in Unix ?&lt;br /&gt;&lt;/strong&gt;ps is unix/linux utility or executable to find status of process. Used mainly to find if services/process is running or not.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-4582910095922622830?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/4582910095922622830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=4582910095922622830' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/4582910095922622830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/4582910095922622830'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/03/apps-11i-technical-interview.html' title='Apps 11i Technical Interview Question/Answers'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-2304140559093801996</id><published>2009-03-09T02:04:00.000-07:00</published><updated>2009-03-18T02:36:33.371-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RAC Real Application Clusters'/><title type='text'>Oracle Clusterware - Voting Disk</title><content type='html'>&lt;strong&gt;What is a voting disk? &lt;/strong&gt;&lt;br /&gt;A voting disk is a file that manages information about node membership.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What are the administrative tasks involved with voting disk?&lt;br /&gt;&lt;/strong&gt;Following administrative tasks are performed with the voting disk :&lt;br /&gt;1) Backing up voting disks&lt;br /&gt;2) Recovering Voting disks&lt;br /&gt;3) Adding voting disks&lt;br /&gt;4) Deleting voting disks&lt;br /&gt;5) Moving voting disks&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How do we backup voting disks? &lt;/strong&gt;&lt;br /&gt;1) Oracle recommends that you back up your voting disk after the initial cluster creation and after we complete any node addition or deletion procedures.&lt;br /&gt;2) First, as root user, stop Oracle Clusterware (with the &lt;span style="color:#ff0000;"&gt;crsctl stop crs&lt;/span&gt; command) on all nodes. Then, determine the current voting disk by issuing the following command:&lt;br /&gt;crsctl query votedisk css&lt;br /&gt;3) Then, issue the dd or ocopy command to back up a voting disk, as appropriate.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Give the syntax of backing up voting disks:- &lt;/strong&gt;&lt;br /&gt;On Linux or UNIX systems:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;dd if=voting_disk_name of=backup_file_name&lt;br /&gt;&lt;/span&gt;where,&lt;br /&gt;voting_disk_name is the name of the active voting disk&lt;br /&gt;backup_file_name is the name of the file to which we want to back up the voting disk contents&lt;br /&gt;On Windows systems, use the ocopy command:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;ocopy voting_disk_name backup_file_name&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What is the Oracle Recommendation for backing up voting disk? &lt;/strong&gt;&lt;br /&gt;Oracle recommends us to use the dd command to backup the voting disk with aminimum block size of 4KB.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How do you restore a voting disk?&lt;br /&gt;&lt;/strong&gt;To restore the backup of your voting disk, issue the dd or ocopy command for Linux and UNIX systems or ocopy for Windows systems respectively.&lt;br /&gt;On Linux or UNIX systems:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;dd if=backup_file_name of=voting_disk_name&lt;br /&gt;&lt;/span&gt;On Windows systems, use the ocopy command:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;ocopy backup_file_name voting_disk_name&lt;br /&gt;&lt;/span&gt;where,&lt;br /&gt;backup_file_name is the name of the voting disk backup file&lt;br /&gt;voting_disk_name is the name of the active voting disk&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How can we add and remove multiple voting disks?&lt;br /&gt;&lt;/strong&gt;If we have multiple voting disks, then we can remove the voting disks and add them back into our environment using the following commands, where path is the complete path of the location where the voting disk resides:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;crsctl delete css votedisk path&lt;br /&gt;crsctl add css votedisk path&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;How do we stop Oracle Clusterware?When do we stop it?&lt;/strong&gt;&lt;br /&gt;Before making any modification to the voting disk, as root user, stop Oracle Clusterware using the &lt;span style="color:#ff0000;"&gt;crsctl stop crs&lt;/span&gt; command on all nodes.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How do we add voting disk?&lt;/strong&gt;&lt;br /&gt;To add a voting disk, issue the following command as the root user, replacing the path variable with the fully qualified path name for the voting disk we want to add:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;crsctl add css votedisk path -force&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How do we move voting disks?&lt;br /&gt;&lt;/strong&gt;To move a voting disk, issue the following commands as the root user, replacing the path variable with the fully qualified path name for the voting disk we want to move:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;crsctl delete css votedisk path -force&lt;br /&gt;crsctl add css votedisk path -force&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;How do we remove voting disks? &lt;/strong&gt;&lt;br /&gt;To remove a voting disk, issue the following command as the root user, replacing the path variable with the fully qualified path name for the voting disk we want to remove:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;crsctl delete css votedisk path -force&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;What should we do after modifying voting disks? &lt;/strong&gt;&lt;br /&gt;After modifying the voting disk, restart Oracle Clusterware using the crsctl start crs command on all nodes, and verify the voting disk location using the following command:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;crsctl query css votedisk&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;When can we use -force option? &lt;/strong&gt;&lt;br /&gt;If our cluster is down, then we can include the -force option to modify the voting disk configuration, without interacting with active Oracle Clusterware daemons. However, using the -force option while any cluster node is active may corrupt our configuration.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-2304140559093801996?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/2304140559093801996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=2304140559093801996' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/2304140559093801996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/2304140559093801996'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/03/oracle-clusterware-voting-disk.html' title='Oracle Clusterware - Voting Disk'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-7842085725138357110</id><published>2009-03-08T21:40:00.000-07:00</published><updated>2009-03-08T21:42:59.446-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>Oracle Accounts Recievables - Tables</title><content type='html'>Useful AR Tables Informations&lt;br /&gt;&lt;br /&gt;Following are commonly used AR ( receivables )tables and their usage. There are many other tables also in AR but here i am putting only few commonly used tables. &lt;br /&gt;&lt;br /&gt;1- RA_CUSTOMER_TRX_ALL&lt;br /&gt;&lt;br /&gt;2- RA_CUSTOMER_TRX_LINES_ALL&lt;br /&gt;&lt;br /&gt;3- RA_CUST_TRX_LINE_GL_DIST_ALL&lt;br /&gt;&lt;br /&gt;4- AR_PAYMENT_SCHEDULES_ALL&lt;br /&gt;&lt;br /&gt;5- AR_RECEIVABLES_TRX_ALL&lt;br /&gt;&lt;br /&gt;6- AR_RECEIVABLE_APPLICATIONS_ALL&lt;br /&gt;&lt;br /&gt;RA_CUSTOMER_TRX_ALL&lt;br /&gt;This table stores invoice, debit memo, commitment, and credit memo header information. Each row includes general invoice information such as customer, transaction type, and printing instructions. You need one row for each invoice, debit memo, commitment, and credit memo you create in Oracle Receivables. Invoices, debit memos, credit memos, and commitments are all distinguished by their transaction types stored in RA_CUST_TRX_TYPES_ALL. If you entered a credit memo, PREVIOUS_CUSTOMER_TRX_ID stores the customer transaction identifier of the invoice you credited. In the case of on account credits, which are not related to any invoice at creation, PREVIOUS_CUSTOMER_TRX_ID is null. If you created an invoice against a commitment, Oracle Receivables stores the customer transaction identifier of the commitment in INITIAL_CUSTOMER_TRX_ID, otherwise it is null. COMPLETE_FLAG stores ’Y’ for Yes and ’N’ for No to indicate if your invoice is complete. When you complete an invoice, Oracle Receivables creates your payment schedules and updates any commitments against this invoice. Before an invoice can be completed, it must have at least one invoice line, revenue records must exist for each line and add up to the line amount, and a sales tax record must exist for each line.&lt;br /&gt;Required Columns:&lt;br /&gt;SOLD_TO_CUSTOMER_ID,&lt;br /&gt;SOLD_TO_SITE_USE_ID,&lt;br /&gt;BILL_TO_CUSTOMER_ID,&lt;br /&gt;BILL_TO_SITE_USE_ID,&lt;br /&gt;SHIP_TO_SITE_USE_ID,&lt;br /&gt;PRINTING_OPTION,&lt;br /&gt;PRINTING_PENDING,&lt;br /&gt;TERM_ID,&lt;br /&gt;REMIT_TO_ADDRESS_ID,&lt;br /&gt;PRIMARY_SALES_REP_ID, and&lt;br /&gt;INVOICE_CURRENCY_CODE&lt;br /&gt;are required even though they are null allowed. The primary key for this table is CUSTOMER_TRX_ID.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RA_CUSTOMER_TRX_LINES_ALL &lt;br /&gt;This table stores information about invoice, debit memo, credit memo, and commitment lines. For example, an invoice can have one line for Product A and another line for Product B. You need one row for each line. Invoice, debit memo, credit memo, and commitment lines are distinguished by the transaction type of the corresponding RA_CUSTOMER_TRX_ALL record.Also, credit memos are required to have a value in PREVIOUS_CUSTOMER_TRX_LINE_ID, except on account credits which are not related to specific invoices/invoice lines at creation time, will not have values in this column. QUANTITY_ORDERED stores the amount of product ordered. QUANTITY_INVOICED stores the amount of product invoiced. For invoices entered through the window, QUANTITY_ORDERED and QUANTITY_INVOICED must be the same. For invoices imported through AutoInvoice, QUANTITY_ORDERED and QUANTITY_INVOICED can be different. If you enter a credit memo, QUANTITY_CREDITED stores the amount of product credited. UOM_CODE stores the unit of measure code as defined in MTL_UNITS_OF_MEASURE. UNIT_STANDARD_PRICE stores the list price per unit for this transaction line. UNIT_SELLING_PRICE stores the selling price per unit for this transaction line. For transactions imported through AutoInvoice, UNIT_STANDARD_PRICE and UNIT_SELLING_PRICE can be different. DESCRIPTION, TAXING_RULE, QUANTITY_ORDERED, UNIT_STANDARD_PRICE,UOM_CODE, and UNIT_SELLING_PRICE are required even though they are null allowed. LINE_TYPE differentiates between the different types of lines that are stored in this table. LINE points to regular invoice lines that normally refer to an item. TAX signifies that this is a tax line. The column LINK_TO_CUST_TRX_LINE_ID references another row in this table that is the invoice line associated with the row of type TAX. FREIGHT works the same way as TAX but there you can have at most one FREIGHT type l ine per invoice line of type LINE. You can also have one line of type FREIGHT that has a null LINK_TO_CUST_TRX_LINE_ID (and this is referred to as header level freight). CHARGES works just like the LINE type. A line_type of ’CB’ is created for a Chargeback line. For every row in this table that belongs to a complete transaction (where RA_CUSTOMER_TRX.COMPLETE_FLAG = Y), there must be at least one row in the table RA_CUST_TRX_LINE_GL_DIST (which stores accounting information), even for non–postable transactions. The primary key for this table is CUSTOMER_TRX_LINE_ID.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RA_CUST_TRX_LINE_GL_DIST_ALL &lt;br /&gt;This table stores the accounting records for revenue, unearned revenue and unbilled receivables for each invoice or credit memo line. Each row includes the GL account and the amount of the accounting entry. The AMOUNT column in this table is required even though it is null allowed. You need one row for each accounting distribution. You must have at least one (but you can have multiple) accounting distributions for each invoice or credit memo line. Oracle Receivables uses this information to post the proper amounts to your general ledger. If your invoice or credit memo has a transaction type where Post to GL is set to No, Oracle Receivables assigns Null to GL_DATE. If your AutoAccounting is unable to complete your general ledger default accounts using the AutoAccounting rules you define, incomplete general ledger accounts are stored in CONCATENATED_SEGMENTS. If you are importing a transaction through AutoInvoice and the general ledger date of your transaction is in a closed accounting period, AutoInvoice uses the general ledger date of the first open accounting period and stores the original general ledger date in ORIGINAL_GL_DATE. ACCOUNT_CLASS defines which type of distribution row you are on. The ACCOUNT_CLASS REC represents the receivable account and is for the total amount of the invoice. There can be at most two REC rows. One that has a ACCOUNT_SET_FLAG set to Y and the other has ACCOUNT_SET_FLAG set to N. Use LATEST_REC_FLAG to join to the later of the two rows. ACCOUNT_SET_FLAG is Y if this row is part of an account set. An account set is a set of rows that represent a model distribution. Account sets are used for invoices with rules. The rows represent how the actual distribution rows should be created and what percentage of the actual distribution should be allocated to each account. For invoices with rules, the distributions are not created when the invoice is initially created. Instead, the invoices are created when the Revenue Recognition program is run. The primary key for this table is CUST_TRX_LINE_GL_DIST_ID.&lt;br /&gt;AR_PAYMENT_SCHEDULES_ALL&lt;br /&gt;This table stores all transactions except adjustments and miscellaneous cash receipts. Oracle Receivables updates this table when activity occurs against an invoice, debit memo, chargeback, credit memo, on account credit, or receipt. Oracle Receivables groups different transactions bythe column CLASS. These classes include invoice (INV), debit memos(DM), guarantees (GUAR), credit memos (CM), deposits (DEP),chargebacks (CB), and receipts (PMT). Transaction classes determine which columns in this table Oracle Receivables updates when a transaction occurs, and whether a transaction relates to either the RA_CUSTOMER_TRX_ALL table or the AR_CASH_RECEIPTS_ALLtable. AR_PAYMENT_SCHEDULES_ALL joins to the RA_CUSTOMER_TRX_ALL table for non–payment transaction entries such as the creation of credit memos, debit memos, invoices, chargebacks, or deposits. AR_PAYMENT_SCHEDULES_ALL uses the foreign key CUSTOMER_TRX_ID to join to the RA_CUSTOMER_TRX_ALL table for these transactions. AR_PAYMENT_SCHEDULES_ALL joins to the AR_CASH_RECEIPTS_ALL table for invoice–related payment transactions using the foreign key CASH_RECEIPT_ID. When a receiptis applied, Oracle Receivables updates AMOUNT_APPLIED, STATUS and AMOUNT_DUE_REMAINING. STATUS changes from ’OP’ to ’CL’for any transaction that has an AMOUNT_DUE_REMAINING value of 0(Zero). ACTUAL_DATE_CLOSED and GL_DATE_CLOSED are populated with the date of the latest transaction. For a receipt, the amount due remaining includes on account and unapplied amounts. Oracle Receivables stores debit items such as invoices, debit memos, chargebacks, deposits, and guarantees as positive numbers in the AMOUNT_DUE_REMAINING and AMOUNT_DUE_ORIGINAL columns. Credit items such as credit memos and receipts are stored as negative numbers. In Release 10, receipts can be confirmed or not confirmed as designated by the CONFIRMED_FLAG column. The sum of the AMOUNT_DUE_REMAINING column for a customer for all confirmed payment schedules reflects the current customer balance. If this amount is negative, then this column indicates the credit balance amount currently available for this customer. For invoices with split terms, one record is created in RA_CUSTOMER_TRX_ALL and one record is stored in AR_PAYMENT_SCHEDULES_ALL for each installment. In AR_PAYMENT_SCHEDULES_ALL, DUE_DATE and AMOUNT_DUE_REMAINING can differ for each installment of a split term invoice. Each installment is differentiated by the TERMS_SEQUENCE_NUMBER column.&lt;br /&gt;If you create a debit memo reversal when you reverse a receipt, Oracle Receivables creates a new payment schedule record for the debit memo and fills in REVERSED_CASH_RECEIPT_ID with the CASH_RECEIPT_ID of the receipt that was reversed. Oracle Receivables creates a new payment schedule record when you create a chargeback in the Receipts window. ASSOCIATED_CASH_RECEIPT_ID is the cash receipt of the payment you entered when you created the chargeback in this window. GL_DATE_CLOSED indicates the general ledger date on which your transaction was closed.&lt;br /&gt;&lt;br /&gt;This column identifies which transactions Oracle Receivables selects when it displays current and overdue debit items in the aging reports. The aging reports also utilize the current balances in AMOUNT_DUE_REMAINING to display outstanding amounts for current and overdue debit items. ACTUAL_DATE_CLOSED gives the date on which you applied a payment or credit to an open transaction that set AMOUNT_DUE_REMAINING to 0 for that transaction. Oracle Receivables uses ACTUAL_DATE_CLOSED to determine which transactions to include when you print statements. The primary key for this table is PAYMENT_SCHEDULE_ID, which identifies the transaction that created the row.&lt;br /&gt;&lt;br /&gt;RA_CUSTOMER_TRX_ALL&lt;br /&gt;This table stores invoice, debit memo, commitment, and credit memo header information. Each row includes general invoice information such as customer, transaction type, and printing instructions. You need one row for each invoice, debit memo, commitment, and credit memo you create in Oracle Receivables. Invoices, debit memos, credit memos, and commitments are all distinguished by their transaction types stored in RA_CUST_TRX_TYPES_ALL. If you entered a credit memo, PREVIOUS_CUSTOMER_TRX_ID stores the customer transaction identifier of the invoice you credited. In the case of on account credits, which are not related to any invoice at creation, PREVIOUS_CUSTOMER_TRX_ID is null. If you created an invoice against a commitment, Oracle Receivables stores the customer transaction identifier of the commitment in INITIAL_CUSTOMER_TRX_ID, otherwise it is null. COMPLETE_FLAG stores ’Y’ for Yes and ’N’ for No to indicate if your invoice is complete. When you complete an invoice, Oracle Receivables creates your payment schedules and updates any commitments against this invoice. Before an invoice can be completed, it must have at least one invoice line, revenue records must exist for each line and add up to the line amount, and a sales tax record must exist for each line.&lt;br /&gt;Required Columns:&lt;br /&gt;SOLD_TO_CUSTOMER_ID,&lt;br /&gt;SOLD_TO_SITE_USE_ID,&lt;br /&gt;BILL_TO_CUSTOMER_ID,&lt;br /&gt;BILL_TO_SITE_USE_ID,&lt;br /&gt;SHIP_TO_SITE_USE_ID,&lt;br /&gt;PRINTING_OPTION,&lt;br /&gt;PRINTING_PENDING,&lt;br /&gt;TERM_ID,&lt;br /&gt;REMIT_TO_ADDRESS_ID,&lt;br /&gt;PRIMARY_SALES_REP_ID, and&lt;br /&gt;INVOICE_CURRENCY_CODE&lt;br /&gt;are required even though they are null allowed. The primary key for this table is CUSTOMER_TRX_ID.&lt;br /&gt;RA_CUSTOMER_TRX_LINES_ALL &lt;br /&gt;&lt;br /&gt;This table stores information about invoice, debit memo, credit memo, and commitment lines. For example, an invoice can have one line for Product A and another line for Product B. You need one row for each line. Invoice, debit memo, credit memo, and commitment lines are distinguished by the transaction type of the corresponding RA_CUSTOMER_TRX_ALL record.Also, credit memos are required to have a value in PREVIOUS_CUSTOMER_TRX_LINE_ID, except on account credits which are not related to specific invoices/invoice lines at creation time, will not have values in this column. QUANTITY_ORDERED stores the amount of product ordered. QUANTITY_INVOICED stores the amount of product invoiced. For invoices entered through the window, QUANTITY_ORDERED and QUANTITY_INVOICED must be the same. For invoices imported through AutoInvoice, QUANTITY_ORDERED and QUANTITY_INVOICED can be different. If you enter a credit memo, QUANTITY_CREDITED stores the amount of product credited. UOM_CODE stores the unit of measure code as defined in MTL_UNITS_OF_MEASURE. UNIT_STANDARD_PRICE stores the list price per unit for this transaction line. UNIT_SELLING_PRICE stores the selling price per unit for this transaction line. For transactions imported through AutoInvoice, UNIT_STANDARD_PRICE and UNIT_SELLING_PRICE can be different. DESCRIPTION, TAXING_RULE, QUANTITY_ORDERED, UNIT_STANDARD_PRICE,UOM_CODE, and UNIT_SELLING_PRICE are required even though they are null allowed. LINE_TYPE differentiates between the different types of lines that are stored in this table. LINE points to regular invoice lines that normally refer to an item. TAX signifies that this is a tax line. The column LINK_TO_CUST_TRX_LINE_ID references another row in this table that is the invoice line associated with the row of type TAX. FREIGHT works the same way as TAX but there you can have at most one FREIGHT type l ine per invoice line of type LINE. You can also have one line of type FREIGHT that has a null LINK_TO_CUST_TRX_LINE_ID (and this is referred to as header level freight). CHARGES works just like the LINE type. A line_type of ’CB’ is created for a Chargeback line. For every row in this table that belongs to a complete transaction (where RA_CUSTOMER_TRX.COMPLETE_FLAG = Y), there must be at least one row in the table RA_CUST_TRX_LINE_GL_DIST (which stores accounting information), even for non–postable transactions. The primary key for this table is CUSTOMER_TRX_LINE_ID.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RA_CUST_TRX_LINE_GL_DIST_ALL &lt;br /&gt;This table stores the accounting records for revenue, unearned revenue and unbilled receivables for each invoice or credit memo line. Each row includes the GL account and the amount of the accounting entry. The AMOUNT column in this table is required even though it is null allowed. You need one row for each accounting distribution. You must have at least one (but you can have multiple) accounting distributions for each invoice or credit memo line. Oracle Receivables uses this information to post the proper amounts to your general ledger. If your invoice or credit memo has a transaction type where Post to GL is set to No, Oracle Receivables assigns Null to GL_DATE. If your AutoAccounting is unable to complete your general ledger default accounts using the AutoAccounting rules you define, incomplete general ledger accounts are stored in CONCATENATED_SEGMENTS. If you are importing a transaction through AutoInvoice and the general ledger date of your transaction is in a closed accounting period, AutoInvoice uses the general ledger date of the first open accounting period and stores the original general ledger date in ORIGINAL_GL_DATE. ACCOUNT_CLASS defines which type of distribution row you are on. The ACCOUNT_CLASS REC represents the receivable account and is for the total amount of the invoice. There can be at most two REC rows. One that has a ACCOUNT_SET_FLAG set to Y and the other has ACCOUNT_SET_FLAG set to N. Use LATEST_REC_FLAG to join to the later of the two rows. ACCOUNT_SET_FLAG is Y if this row is part of an account set. An account set is a set of rows that represent a model distribution. Account sets are used for invoices with rules. The rows represent how the actual distribution rows should be created and what percentage of the actual distribution should be allocated to each account. For invoices with rules, the distributions are not created when the invoice is initially created. Instead, the invoices are created when the Revenue Recognition program is run. The primary key for this table is CUST_TRX_LINE_GL_DIST_ID.&lt;br /&gt;&lt;br /&gt;AR_PAYMENT_SCHEDULES_ALL&lt;br /&gt;This table stores all transactions except adjustments and miscellaneous cash receipts. Oracle Receivables updates this table when activity occurs against an invoice, debit memo, chargeback, credit memo, on account credit, or receipt. Oracle Receivables groups different transactions bythe column CLASS. These classes include invoice (INV), debit memos(DM), guarantees (GUAR), credit memos (CM), deposits (DEP),chargebacks (CB), and receipts (PMT). Transaction classes determine which columns in this table Oracle Receivables updates when a transaction occurs, and whether a transaction relates to either the RA_CUSTOMER_TRX_ALL table or the AR_CASH_RECEIPTS_ALLtable. AR_PAYMENT_SCHEDULES_ALL joins to the RA_CUSTOMER_TRX_ALL table for non–payment transaction entries such as the creation of credit memos, debit memos, invoices, chargebacks, or deposits. AR_PAYMENT_SCHEDULES_ALL uses the foreign key CUSTOMER_TRX_ID to join to the RA_CUSTOMER_TRX_ALL table for these transactions. AR_PAYMENT_SCHEDULES_ALL joins to the AR_CASH_RECEIPTS_ALL table for invoice–related payment transactions using the foreign key CASH_RECEIPT_ID. When a receiptis applied, Oracle Receivables updates AMOUNT_APPLIED, STATUS and AMOUNT_DUE_REMAINING. STATUS changes from ’OP’ to ’CL’for any transaction that has an AMOUNT_DUE_REMAINING value of 0(Zero). ACTUAL_DATE_CLOSED and GL_DATE_CLOSED are populated with the date of the latest transaction. For a receipt, the amount due remaining includes on account and unapplied amounts. Oracle Receivables stores debit items such as invoices, debit memos, chargebacks, deposits, and guarantees as positive numbers in the AMOUNT_DUE_REMAINING and AMOUNT_DUE_ORIGINAL columns. Credit items such as credit memos and receipts are stored as negative numbers. In Release 10, receipts can be confirmed or not confirmed as designated by the CONFIRMED_FLAG column. The sum of the AMOUNT_DUE_REMAINING column for a customer for all confirmed payment schedules reflects the current customer balance. If this amount is negative, then this column indicates the credit balance amount currently available for this customer. For invoices with split terms, one record is created in RA_CUSTOMER_TRX_ALL and one record is stored in AR_PAYMENT_SCHEDULES_ALL for each installment. In AR_PAYMENT_SCHEDULES_ALL, DUE_DATE and AMOUNT_DUE_REMAINING can differ for each installment of a split term invoice. Each installment is differentiated by the TERMS_SEQUENCE_NUMBER column.&lt;br /&gt;If you create a debit memo reversal when you reverse a receipt, Oracle Receivables creates a new payment schedule record for the debit memo and fills in REVERSED_CASH_RECEIPT_ID with the CASH_RECEIPT_ID of the receipt that was reversed. Oracle Receivables creates a new payment schedule record when you create a chargeback in the Receipts window. ASSOCIATED_CASH_RECEIPT_ID is the cash receipt of the payment you entered when you created the chargeback in this window. GL_DATE_CLOSED indicates the general ledger date on which your transaction was closed.&lt;br /&gt;&lt;br /&gt;This column identifies which transactions Oracle Receivables selects when it displays current and overdue debit items in the aging reports. The aging reports also utilize the current balances in AMOUNT_DUE_REMAINING to display outstanding amounts for current and overdue debit items. ACTUAL_DATE_CLOSED gives the date on which you applied a payment or credit to an open transaction that set AMOUNT_DUE_REMAINING to 0 for that transaction. Oracle Receivables uses ACTUAL_DATE_CLOSED to determine which transactions to include when you print statements. The primary key for this table is PAYMENT_SCHEDULE_ID, which identifies the transaction that created the row.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;AR_RECEIVABLES_TRX_ALL&lt;br /&gt;This table links accounting information with your Receivables Activities. Possible types of activities include Adjustment, Miscellaneous Cash, and Finance Charges. If your type is Miscellaneous Cash, you can associate either a distribution set or a standard accounting flexfield to your Receivables Activity. Oracle Receivables uses one row for each activity. You use your receivables activities to speed receipt entry and generate finance charges. The other types of activities that were valid in release 9 and no longer valid in Release 10 were converted (as part of the upgrade) such that the actual accounting flexfield CODE_COMBINATION_ID is stored in the table instead of the RECEIVABLES_TRX_ID. In Release 9, all of these references were in AR_BATCH_SOURCES; they are now in AR_RECEIPT_METHOD_ACCOUNTS_ALL. The primary key for this table is RECEIVABLES_TRX_ID.&lt;br /&gt;AR_RECEIVABLE_APPLICATIONS_ALL&lt;br /&gt;This table stores all accounting entries for your cash and credit memo applications. Each row includes the amount applied, status, and accounting flexfield information. Possible statuses of your applications include APP, UNAPP, ACC, and UNID. You use this information to determine the applications of your payments or credit memos. CONFIRMED_FLAG is a denormalization from AR_CASH_RECEIPTS_ALL.If the cash receipt is not confirmed, the applications of that receipt are not reflected in the payment schedule of the transaction it is applied against. There are two kinds of applications: CASH and CM (for credit memo applications). This is stored in the column APPLICATION_TYPE.&lt;br /&gt;CASH applications represent applications of a cash receipt. When a cash receipt is initially created, a row is created in this table that has a status of UNAPP for the amount of the cash receipt. Each subsequent application creates two rows – one with a status of APP for the amount being applied to the invoice and one with status UNAPP for the negative of the amount being applied. Ifyou reverse a cash application, a row with status APP with the inverse amount of the original application (i.e. the negative of the original application amount) is created. The corresponding UNAPP rows is alsocreated which will have a positive amount (the same amount as the application being reversed). For example: UNAPP 100 creation of a$100 cash receipt APP 60 application of $60 of this cash receipt UNAPP –60 this row takes away (debits) unapplied APP –60 reversal of the $60 application UNAPP 60 this rows puts back(credits) unapplied The sum of the AMOUNT_APPLIED column for CASH applications should always equal the amount of the cash receipt. CM applications, on the other hand, do not have rows of status UNAPP. They only use rows with a status of APP. CASH_RECEIPT_ID stores the cash receipt identifier of the receipt you entered. Oracle Receivables concurrently creates a record of this receipt in the AR_CASH_RECEIPTS_ALL table.&lt;br /&gt;&lt;br /&gt;This column is null for a credit memo application. CODE_COMBINATION_ID stores valid Accounting Flexfield segment value combinations that will be credited in the General Ledger when this application is posted. A negative value in AMOUNT_APPLIED becomes a debit. The STATUS of a receivable application determines which flexfield account Oracle Receivables uses. For example, if you enter a cash receipt of $500 as Unidentified, Oracle Receivables creates a record in theAR_RECEIVABLE_APPLICATIONS_ALL table with AMOUNT_APPLIED = 500 and STATUS = ’UNID’. Oracle Receivables uses the foreign key CODE_COMBINATION_ID to associate this payment with the Unidentified flexfield account. CUSTOMER_TRX_ID, CASH_RECEIPT_ID, and PAYMENT_SCHEDULE_ID identify the transaction that you are actually applying. APPLIED_CUSTOMER_TRX_ID and APPLIED_PAYMENT_SCHEDULE_ID identify the invoice or credit memo that receives the application. For example, if you apply a receipt against an invoice, Oracle Receivables creates a record in the AR_RECEIVABLE_APPLICATIONS_ALL table. The CASH_RECEIPT_ID and the PAYMENT_SCHEDULE_ID of this record identify the receipt you are applying. APPLIED_PAYMENT_SCHEDULE_ID and APPLIED_CUSTOMER_TRX_ID for this record belong to the invoice that is receiving the application. If you apply a credit memo against the invoice, Oracle Receivables creates a record in the AR_RECEIVABLE_APPLICATIONS_ALL table that has theCUSTOMER_TRX_ID and the PAYMENT_SCHEDULE_ID of the credit memo you are applying. The APPLIED_PAYMENT_SCHEDULE_ID and the APPLIED_CUSTOMER_TRX_ID of this record belong to the invoice that is receiving the application. If you combine an on account credit and a receipt, Oracle Receivables creates a record in the AR_RECEIVABLE_APPLICATIONS_ALL table.&lt;br /&gt;&lt;br /&gt;The PAYMENT_SCHEDULE_ID and the CASH_RECEIPT_ID of this record identify the receipt. The APPLIED_PAYMENT_SCHEDULE_ID and the APPLIED_CUSTOMER_TRX_ID of this record identify the on account credit that you are combining with the receipt. The primary key for this table is RECEIVABLE_APPLICATION_ID, which uniquely identifies the transaction that created the row.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-7842085725138357110?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/7842085725138357110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=7842085725138357110' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7842085725138357110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/7842085725138357110'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/03/useful-ar-tables-informations.html' title='Oracle Accounts Recievables - Tables'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1635032788162922534.post-3816813021167301387</id><published>2009-03-08T21:38:00.000-07:00</published><updated>2009-03-08T21:39:56.938-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Applications ERP'/><title type='text'>Oracle General Ledger - Tables</title><content type='html'>Oracle General Ledger - Tables&lt;br /&gt;&lt;br /&gt;Following are commonly used GL tables and their usage. There are many other tables also in GL but here i am putting only few commonly used tables. &lt;br /&gt;&lt;br /&gt;1- GL_SETS_OF_BOOKS&lt;br /&gt;&lt;br /&gt;2- GL_IMPORT_REFERENCES &lt;br /&gt;&lt;br /&gt;3- GL_DAILY_RATES &lt;br /&gt;&lt;br /&gt;4- GL_JE_LINES &lt;br /&gt;&lt;br /&gt;5- GL_PERIODS&lt;br /&gt;&lt;br /&gt;6- GL_JE_HEADERS&lt;br /&gt;&lt;br /&gt;7- GL_JE_BATCHES&lt;br /&gt;&lt;br /&gt;8- GL_BALANCES&lt;br /&gt;&lt;br /&gt;9- GL_CODE_COMBINATIONS &lt;br /&gt;&lt;br /&gt;GL_SETS_OF_BOOKS &lt;br /&gt;Stores information about the sets of books you define in your Oracle General Ledger application. Each row includes the set of books name, description, functional currency, and other information. This table corresponds to the Set of Books form.&lt;br /&gt; &lt;br /&gt;GL_IMPORT_REFERENCES&lt;br /&gt;Stores individual transactions from subledgers that have been summarized into Oracle General Ledger journal entry lines through the Journal Import process. You can specify the journal entry sources for which you want to maintain your transaction’s origin by entering ’Yes’ in the Import Journal References field of the Journal Sources form.&lt;br /&gt;For each source that has Import Journal References set to ’Yes’, Oracle General Ledger will populate GL_IMPORT_REFERENCES with one record for each transaction in your feeder system.&lt;br /&gt; &lt;br /&gt;GL_DAILY_RATES &lt;br /&gt;Stores the daily conversion rates for foreign currency transactions. It replaces the GL_DAILY_CONVERSION_RATES table. It stores the rate to use when converting between two currencies for a given conversion date and conversion type. Each row in this table has a corresponding inverse row in which the from and to currencies are switched.&lt;br /&gt;For example, if this table contains a row with a from_currency of YEN, a to_currency of CND, a conversion_type of Spot, and a conversion_date of January 1, 1997, it will also contain a row with a from_currency of CND, a to_currency of YEN, a conversion_type of Spot, and a conversion_date of January 1, 1997.&lt;br /&gt;In general, this row will contain a rate that is the inverse of the matching row. One should never insert directly into this table. They should instead insert into the DAILY_RATES_INTERFACE table. Data inserted into the GL_DAILY_RATES_INTERFACE table will be automatically copied into this table.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;GL_JE_LINES &lt;br /&gt;Stores the journal entry lines that you enter in the Enter Journals form. There is a one–to–many relationship between journal entries and journal entry lines. Each row in this table stores the associated journal entry header ID, the line number, the associated code combination ID, and the debits or credits associated with the journal line. STATUS is ’U’ for unposted or ’P’ for posted.&lt;br /&gt;&lt;br /&gt;GL_PERIODS &lt;br /&gt;Stores information about the accounting periods you define using the Accounting Calendar form. Each row includes the start date and end date of the period, the period type, the fiscal year, the period number, and other information. There is a one–to–many relationship between a row in the GL_PERIOD_SETS table and rows inthis table. &lt;br /&gt;&lt;br /&gt;GL_JE_HEADERS &lt;br /&gt;Stores journal entries. There is a one–to–many relationship between journal entry batches and journal entries. Each row in this table includes the associated batch ID, the journal entry name and description, and other information about the journal entry. This table corresponds to the Journals window of the Enter Journals form. STATUS is ’U’ for unposted, ’P’ for posted. Other statuses indicate that an error condition was found. CONVERSION_FLAG equal to ’N’ indicates that you manually changed a converted amount in the Journal Entry Lines zone of a foreign currency journal entry. In this case, the posting program does not re–convert your foreign amounts. This can happen only if your user profile option MULTIPLE_RATES_PER_JE is ’Yes’. BALANCING_SEGMENT_VALUE is null if there is only one balancing segment value in your journal entry. If there is more than one, BALANCING_SEGMENT_VALUE is the greatest balancing segment value in your journal entry.&lt;br /&gt;&lt;br /&gt;GL_JE_BATCHES &lt;br /&gt;Stores journal entry batches. Each row includes the batch name, description, status, running total debits and credits, and other information. This table corresponds to the Batch window of the Enter Journals form. STATUS is ’U’ for unposted, ’P’ for posted, ’S’ for selected, ’I’ for in the process of being posted. Other values of status indicate an error condition. STATUS_VERIFIED is ’N’ when you create or modify an unposted journal entry batch.&lt;br /&gt;The posting program changes STATUS_VERIFIED to ’I’ when posting is in process and ’Y’ after posting is complete.&lt;br /&gt; &lt;br /&gt;GL_BALANCES &lt;br /&gt;Stores actual, budget, and encumbrance balances for detail and summary accounts. This table stores functional currency, foreign currency, and statistical balances for each accounting period that has ever been opened.&lt;br /&gt;ACTUAL_FLAG is either ’A’, ’B’, or ’E’ for actual, budget, or encumbrance balances, respectively. If ACTUAL_FLAG is ’B’, then BUDGET_VERSION_ID is required. If ACTUAL_FLAG is ’E’, then ENCUMBRANCE_TYPE_ID is required.&lt;br /&gt;GL_BALANCES stores period activity for an account in the PERIOD_NET_DR and PERIOD_NET_CR columns. The table stores the period beginning balances in BEGIN_BALANCE_DR and BEGIN_BALANCE_CR.&lt;br /&gt;An account’s year–to–date balance is calculated as BEGIN_BALANCE_DR – BEGIN_BALANCE_CR + PERIOD_NET_DR – PERIOD_NET_CR. Detail and summary foreign currency balances that are the result of posted foreign currency journal entries have TRANSLATED_FLAG set to ’R’, to indicate that the row is a candidate for revaluation.&lt;br /&gt;For foreign currency rows, the begin balance and period net columns contain the foreign currency balance, while the begin balance and period net BEQ columns contain the converted functional currency balance. Detail foreign currency balances that are the result of foreign currency translation have TRANSLATED_FLAG set to ’Y’ or ’N’. ’N’ indicates that the translation is out of date (i.e., the account needs to be re–translated). ’Y’ indicates that the translation is current.&lt;br /&gt;&lt;br /&gt;Summary foreign currency balances that are the result of foreign currency translation have TRANSLATED_FLAG set to NULL. All summary account balances have TEMPLATE_ID not NULL. The columns that end in ADB are not used. Also, the REVALUATION_STATUS column is notused.&lt;br /&gt;&lt;br /&gt;GL_CODE_COMBINATIONS &lt;br /&gt;Stores valid account combinations foreach Accounting Flexfield structure within your Oracle General Ledger application. Associated with each account are certain codes and flags, including whether the account is enabled, whether detail posting ordetail budgeting is allowed, and others. Segment values are stored in the SEGMENT columns. Note that each Accounting Flexfield structure may use different SEGMENT columns within the table to store the flexfield value combination. Moreover, the SEGMENT columns that are used are not guaranteed to be in any order. The Oracle Application Object Library table FND_ID_FLEX_SEGMENTS stores information about which column in this table is used for each segment of each Accounting Flexfield structure. Summary accounts have SUMMARY_FLAG = ’Y’ and TEMPLATE_ID not NULL. Detail accounts have SUMMARY_FLAG = ’N’ and TEMPLATE_ID NULL&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635032788162922534-3816813021167301387?l=samiora.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samiora.blogspot.com/feeds/3816813021167301387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635032788162922534&amp;postID=3816813021167301387' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/3816813021167301387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635032788162922534/posts/default/3816813021167301387'/><link rel='alternate' type='text/html' href='http://samiora.blogspot.com/2009/03/oracle-general-ledger-tables.html' title='Oracle General Ledger - Tables'/><author><name>Sami Malik</name><uri>http://www.blogger.com/profile/13795738444749252491</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_BcnsdZPD0e4/SSE1c7nzRdI/AAAAAAAAAAM/9N6Locvi0-Q/S220/sami.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blo
