Home » Oracle » Oracle Ebuisness Suite » How To Determine Which File System is the Run or Patch File System in R12.2

How To Determine Which File System is the Run or Patch File System in R12.2

Oracle Apps R12.2 has two filesytem to enable online patching. We can determine Which File System is the Run or Patch File System by either looking at the file_edition_type in the Context file or by doing the backend query using sql

Using context file on the filesystem or Sourcing the env

if you know the location of context file,Look for the file_edition_type in the CONTEXT_FILE

grep file_edition_type  <context file >

You can source the environment file

. <BASE_DIRECTORY>/EBSapps.env run

Using backend query

To determine the RUN file system:

SELECT EXTRACTVALUE(XMLType(text),'//oa_context_file_loc')
appl_top, status
FROM fnd_oam_context_files
WHERE name NOT IN ('TEMPLATE','METADATA','config.txt')
AND CTX_TYPE='A'
AND (status IS NULL OR UPPER(status) IN ('S','F'))
AND EXTRACTVALUE(XMLType(text),'//file_edition_type') = 'run';

To determine the PATCH files system:

SELECT EXTRACTVALUE(XMLType(text),'//oa_context_file_loc')
appl_top, status
FROM fnd_oam_context_files
WHERE name NOT IN ('TEMPLATE','METADATA','config.txt')
AND CTX_TYPE='A'
AND (status IS NULL OR UPPER(status) IN ('S','F'))
AND EXTRACTVALUE(XMLType(text),'//file_edition_type') = 'patch';

Hope this helps

See also  Local Undo in Oracle Database 12c R2(12.2)

1 thought on “How To Determine Which File System is the Run or Patch File System in R12.2”

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top