AD Merge Patch (command:admrgpch) is used to merge multiple patches into a single one. This is useful when we have to apply many patches to reduce the patching time.
Note:it can't be used to merge patches of different releases, platforms or parallel modes.
Command like:
admrgpch -s <source> -d <desintation> -logfile <name> -merge_name <default is merged, so name it appropriately>
--------------------------------------------------------------------------------------------------------------
Example:
[oracle@bej301441 source]$ admrgpch -s /u02/merge/source -d /u02/merge/destination -merge_name ptian
Executing the merge of the patch drivers
-- Processing patch: /u02/merge/source/16033705
-- Processing file: /u02/merge/source/16033705/u16033705.drv
-- Done processing file: /u02/merge/source/16033705/u16033705.drv
-- Done processing patch: /u02/merge/source/16033705
-- Processing patch: /u02/merge/source/15926874
-- Processing file: /u02/merge/source/15926874/u15926874.drv
-- Done processing file: /u02/merge/source/15926874/u15926874.drv
-- Done processing patch: /u02/merge/source/15926874
Copying files...
100% complete. Copied 5 files of 5...
Character-set converting files...
2 unified drivers merged.
Patch merge completed successfully
Please check the log file at ./admrgpch.log.
[oracle@bej301441 destination]$ ls /u02/merge/destination/ -l
total 56
-rw-r--r-- 1 oracle oinstall 5051 Apr 4 20:17 15926874_README.html
-rw-r--r-- 1 oracle oinstall 2445 Apr 4 20:17 15926874_README.txt
-rw-r--r-- 1 oracle oinstall 6349 Apr 4 20:17 16033705_README.html
-rw-r--r-- 1 oracle oinstall 3772 Apr 4 20:17 16033705_README.txt
drwxr-xr-x 3 oracle oinstall 4096 Apr 4 20:17 ad
-rw-r--r-- 1 oracle oinstall 2215 Apr 4 20:17 b15926874.ldt
-rw-r--r-- 1 oracle oinstall 2422 Apr 4 20:17 b16033705.ldt
-rw-r--r-- 1 oracle oinstall 1079 Apr 4 20:17 f15926874.ldt
-rw-r--r-- 1 oracle oinstall 1183 Apr 4 20:17 f16033705.ldt
drwxr-xr-x 5 oracle oinstall 4096 Apr 4 20:17 inv
drwxr-xr-x 2 oracle oinstall 4096 Apr 4 20:17 metadata_files
-rw-r--r-- 1 oracle oinstall 2147 Apr 4 20:17 u_ptian.drv
[oracle@bej301441 destination]$
--------------------------------------------------------------------------------------------------------------