I am not familiar with these suffixes (PKS, FNC etc). Are these store procedure files 
created by some software like Oracle Designer?

Long

-----Original Message-----
Sent: Thursday, 1 November 2001 3:56 AM
To: Multiple recipients of list ORACLE-L


Ken,

To see exactly how the stored procedure files will be used, you'll need to
examine the DDL script to find out how they're called.  That might tell you
which directory in which to put them.

If you have to run them manually, do it after the DDL script finishes.
Execute (from SQL*Plus) all the *.PKS (Package Spec) files first, then the
*.FNC (Function) and *.PRC (Procedure) files, followed by *.PKB (Package
Body), then *.TRG (Triggers).  If there are any functions that call
procedures you may have to run the *.FNC files again, after the *.PRC.
Since nothing can call a trigger, the *.TRG files are last, right after the
*.PKB, since the code in the package bodies could call procedures or
functions.

If any views reference publice packaged variables, you may have to recreate
those views.  Check the Status column in User_Objects to see if anything
ends up INVALID.  You'll have to recompile...

 Alter Function xxxxx Compile ;
 Alter Package  xxxxx Compile ;
 Alter Package  xxxxx Compile Body ;
 ...

Jack

--------------------------------
Jack C. Applewhite
Database Administrator/Developer
OCP Oracle8 DBA
iNetProfit, Inc.
Austin, Texas
www.iNetProfit.com
[EMAIL PROTECTED]
(512)327-9068


-----Original Message-----
Sent: Wednesday, October 31, 2001 10:15 AM
To: Multiple recipients of list ORACLE-L


I received the DDL SQL script (approx. 11,000 lines of code) to generate a
database from our other office in Malaysia.  Along with this script I got
another file with approx. 720 files called stored procedures with the suffix
.PRC, .PKB, .PKS, .FNC. AND .TRG.  When I go to generate the DB using the
DDL SQL script how will these "stored procedure" files be used?  Will the
SQL script call them, or will they be called and used after the DB is built?
Where should these "stored procedure" files be stored in the directory
structure?

The box is W2000 and Oracle is 8.1.7.

Thanks much,

Kenneth C. Janusz, CPIM
Database Conversion Lead
Sufficient System, Inc.
Minneapolis, MN

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jack C. Applewhite
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to