Copy the appropriate files Backup.bat and Backup.txt into a temporary folder.
These can be found in a folder called Tools\Backup in the @ptitude Analyst CD.
Note: Ensure that there is enough free disk space to accommodate your export file a good
rule of thumb, is to have approximately the same or greater amount of free disk space as
your Oracle database folder.
Edit the Backup.bat and Backup.txt file to match your installation. You may edit the files
by right-clicking a file and selecting the Edit command from the right-click-menu.
Below is the content of the Backup.bat. Items that are in Bold and Italics you will need to
edit.
exp system/skf@cmserver parfile=Backup.txt
Note: Here is an explanation of the command
system = User that has the rights to attach to the database and run the
Export utility
Cmserver = this is the name of the database to export the data from
Page 2 of 7
Edit the Backup.txt file. Below is the content of the Backup.txt. Items that are in Bold and
Italics you will need to edit.
Note: Here is an explanation of the parameter file
Compress = Y will cause export to resize the initial extents for all tables so they will
import into one initial extent
File = Name of Export.dmp name of the export file you want to create
Log = Name of Log file specifies the file name to record the screen output and
error messages
Owner = SKFUSER1 specifies one or more usernames whose objects will be exported
in user mode
Record = N (If record is set to YES an incremental or cumulative export updates
the SYS.INCVID, SYS.INCFIL, and SYS.INCEXP tables)
Double click the Backup.batthis will initiate the export application and display a Command
Prompt window from several minutes to a several hours, depending on the size of the
database.
Page 3 of 7
Page 4 of 7
skfuser1 = User that has the rights to attach to the database and run the
import utility
Page 5 of 7
Phase III
After the import has finished you will need to manually update the database to the current
version.
Copy the database update scripts to a temp folder. The scripts can be found in the Oracle
folder within the application path:
C:\Program Files\SKF-RS\SKF @ptitude Analyst\DBAssist\Oracle
Select all the scripts and paste then into the temp folder.
Running the sysgrant script
From the Start>All Programs menu open the Oracle Database 10g Express Edition, and
then select Run SQL Command Line
Press Enter
Once the sys user is connected in to the database, type the path to the sysgrant script:
@Drive Letter\Folder\sysgrant.sql
Example: @x:\oracle\sysgrant.sql
Page 6 of 7
Press Enter
If the script is executed properly, then two Grant succeeded will be returned.
Press Enter
Once connected as sfkuser1, type the path to the sysgrant script:
@Drive Letter\Folder\sysgrant.sql
Example: @x:\oracle\sysgrant.sql
Page 7 of 7
Press Enter
This will initiate the DBupdate procedure and it will scroll by in the command window.
When the DBupdate has finished the command prompt window will close and you will be
returned to your desktop.
You are now ready to launch @ptitude Analyst running with Oracle 10g Express.