You are here: Available Utilities > L > LBYPROC > Promoting Resources > Example 1

Promoting Resources: Example 1

This example promotes all resources from a development library into a test library. This example script specifies the source library name (MASTER.LBY) and the target library name (TEST.LBY). In this example, both libraries are in xBase format.

If you run the utility with these parameters:

c:\fap\dll\dms1dm>lbyproc /i=deflib\pro1.lsc

You will get this output from the utility:

--- LBYPROC Copyright (C) 1997, 2009 Oracle. All rights reserved.

--- Documaker library script processor

 

Found <1> Library Scripts

PROMOTE Successful. Name<DMS1DM> Type<BDF> Ver<00001> Rev<00001> Note<Normal promotion>

PROMOTE Successful. Name<ADDCOM> Type<DAL> Ver<00001> Rev<00001> Note<Normal promotion>

. . .

--- LBYPROC Complete ---

Here are the contents of the pro1.lsc file, which contains the Promote script:

<LBYSCRIPT>
<PROMOTE>
<LIBRARY SRC="DEFLIB\MASTER.LBY" TGT="DEFLIB\TEST.LBY"/>
<NAME SRC=""/>
<TYPE SRC=""/>
<VERSION SRC=""/>
<REVISION SRC=""/>
<USERID SRC=""/>
<EFFDATE SRC="" />
<TEMPNAME SRC="" />
<MODE SRC="" TGT=""/>
<STATUS SRC="" TGT="*"/>
<CLASS SRC="" TGT="*"/>
<PROJECT SRC="" TGT="*"/>
</PROMOTE>
</LBYSCRIPT>