Apps DBA Concepts

Just another WordPress.com weblog

Archive for November 20th, 2007

Insight about Archive files for R12

Posted by vasselva on November 20, 2007

How to create ,replace ,delete and list the archive files in R12

Windows

To list the archive files

e.g. lib /list adst.lib

To include the single object into archive file

e.g. lib adst.lib aimain.obj

To list the particular object

e.g. lib /list adst.lib |grep aimain.obj

o/p – aimain.obj

To find the header of particular object

adident Header adst.lib | grep aimain.oc

o/p – $Header aimain.oc 120.10 2006/11/28 20:32:39 vlim ship $

Unix

To list the archive files

  • ar t libad.a
  • ar t libad.a | grep aiures.o

To take out all the files from archive

e.g. ar -xv libad.a

To take out individual file from the archive

e.g. ar -xv libad.a aiures.o

To delete the particular object file from archive

e.g. ar d libad.a aiures.o

To replace or create the particular object file from archive

e.g. ar r libad.a aiures.o

 

 

Posted in General | Leave a Comment »