Pages

Wednesday, March 16, 2016

How to find Version of a File in Oracle Application

How to find Version of a File in Oracle Application

There are two ways to check version of a file.

1. Adident
2. Strings

Adident utility in ORACLE application is used to find version of any file.

Syntax : adident Header <filename>

e.g If you want to find out the version of appvndrb.pls
$ cd AP_TOP/patch/115/sql
$ adident Header appvndrb.pls
$Header appvndrb.pls 120.78.12010000.83 2010/04/27 21:00:55 vinaik ship

Using Strings:

Syntax : strings -a Top_name/location of file/filename | grep ‘$Header’

e.g $ strings -a $AP_TOP/patch/115/sql/appvndrb.pls | grep ‘$Header’
$Header: appvndrb.pls 120.78.12010000.83 2010/04/27 21:00:55 vinaik ship $ */
OR
$ cd $AP_TOP/patch/115/sql
$ strings -a appvndrb.pls | grep ‘$Header’

No comments:

Post a Comment