home *** CD-ROM | disk | FTP | other *** search
- #-------------------------------------------------------------------------
- #
- # FILE
- # INSTALL.ORA
- # V2 installation script language interpreter file.
- #
- # DESCRIPTION
- # This is the script file for the SQL*Loader install.
- #
- # OWNER
- # Tim Kelley
- #
- # CREATION DATE
- # 19-JUL-90
- #
- #-------------------------------------------------------------------------
-
- #-------------------------------------------------------------------------
- # Generate symbols for Disk Volume label and Jacket label for disks.
- #-------------------------------------------------------------------------
- .LABELGEN
- u
- V60 LOAD %u
- DOS SQL*Loader Disk %u
-
- .FILES -NOCOPY
- INSTALL.ORI 6032
-
- .PROT_USAGE=9
- .REAL_USAGE=9
- .BOTH_USAGE=16
- .PRODUCT_NAME=SQL*Loader
- .PRODUCT_VERSION=1.0.27.0.1
- .PRODUCT_NUMBER=3
- .SUPP_REQUIRED=6.0.31.0.1
-
- .CHECKREG %PRODUCT_NUMBER%
- PRODUCT
- VERSION
-
- .CHECKREG 34
- SUPPORT
- SUPP_VERSION
-
- .IF (%SUPPORT%=="" || %SUPP_VERSION% < %SUPP_REQUIRED%)
- .MESSAGE
- %WARNING%
-
- You have not installed Required Support Files %SUPP_REQUIRED%.
- Please install Required Support Files %SUPP_REQUIRED% or later
- and then install %PRODUCT_NAME%.
-
- .PAUSE
- .EXIT
- .ENDIF
-
- .<CHECK_INST>
-
- .IF (%INSTALL_CHECKED%!=1)
- .SELECTPROMPT
- MODE
- Would you like to install protected, real, or both modes of executables?
- <MODEHELP>
- 1 Protected mode only
- 2 Real mode only
- 3 Both real and protected modes
- .IF (%MODE%==999)
- .EXIT
- .ENDIF
-
- .IF (%MODE%==1)
- .DISK_USAGE=%PROT_USAGE%
- .ELSE
- .IF (%MODE%==2)
- .DISK_USAGE=%REAL_USAGE%
- .ELSE
- .DISK_USAGE=%BOTH_USAGE%
- .ENDIF
- .ENDIF
-
- .<CHECK_SPACE>
-
- .IF (%PRODUCT%=="")
- .IF (%DISK_USAGE% > %FREE_SPACE%)
-
- .SELECTPROMPT
- USER_RESP
- There is insufficient disk space on drive %ORACLE_DISK%: to install this product.
- Would you like to attempt to install anyway?
- <DISK_SPACE_HELP>
- 1 No
- 2 Yes
-
- .IF (%USER_RESP%==1)
- .EXIT
- .ENDIF
- .IF (%USER_RESP%==999)
- .GOTO <CHECK_INST>
- .ENDIF
- .ENDIF
-
- .ELSE
- .SELECTPROMPT
- USER_RESP
- %PRODUCT_NAME% has already been installed.
- Would you like to reinstall it?
- <REINSTALL_HELP>
- 1 No
- 2 Yes
-
- .IF (%USER_RESP%==1)
- .EXIT
- .ENDIF
- .IF (%USER_RESP%==999)
- .GOTO <CHECK_INST>
- .ENDIF
- .REINSTALL=1
- .ENDIF
- .ENDIF
-
- .CLEARSCREEN
-
- .MESSAGE
- %HILITE% Creating directory %ORACLE_HOME%\LOADER...
-
- .MKDIR
- %ORACLE_HOME%\LOADER
-
- .IF ((%MODE%==1) || (%MODE%==3))
-
- .MESSAGE
- %NORMAL% Copying SQL*Loader executables into %ORACLE_HOME%\PBIN...
-
- .FILES
- 123PREP.PXE 103567 %ORACLE_HOME%\PBIN\123PREP.PXE
- ASCPREP.PXE 198996 %ORACLE_HOME%\PBIN\ASCPREP.PXE
- DB3PREP.PXE 99456 %ORACLE_HOME%\PBIN\DB3PREP.PXE
- ODL2LDR.PXE 98501 %ORACLE_HOME%\PBIN\ODL2LDR.PXE
- SQLLOAD.PXE 309610 %ORACLE_HOME%\PBIN\SQLLOAD.PXE
-
- .SYSCALL -QUIET
- COPY %ORACLE_HOME%\PBIN\PLOADR.COM %ORACLE_HOME%\PBIN\123PREP.COM >NUL
-
- .SYSCALL -QUIET
- COPY %ORACLE_HOME%\PBIN\PLOADR.COM %ORACLE_HOME%\PBIN\ASCPREP.COM >NUL
-
- .SYSCALL -QUIET
- COPY %ORACLE_HOME%\PBIN\PLOADR.COM %ORACLE_HOME%\PBIN\DB3PREP.COM >NUL
-
- .SYSCALL -QUIET
- COPY %ORACLE_HOME%\PBIN\PLOADR.COM %ORACLE_HOME%\PBIN\ODL2LDR.COM >NUL
-
- .SYSCALL -QUIET
- COPY %ORACLE_HOME%\PBIN\PLOADR.COM %ORACLE_HOME%\PBIN\SQLLOAD.COM >NUL
-
- .ENDIF
-
- .IF ((%MODE%==2) || (%MODE%==3))
-
- .MESSAGE
- %NORMAL% Copying SQL*Loader executables into %ORACLE_HOME%\BIN...
-
- .FILES
- SQLLOAD.EXE 314986 %ORACLE_HOME%\BIN\SQLLOAD.EXE
- ODL2LDR.EXE 97555 %ORACLE_HOME%\BIN\ODL2LDR.EXE
- 123PREP.EXE 107340 %ORACLE_HOME%\BIN\123PREP.EXE
- ASCPREP.EXE 203860 %ORACLE_HOME%\BIN\ASCPREP.EXE
- DB3PREP.EXE 103054 %ORACLE_HOME%\BIN\DB3PREP.EXE
- DB3LOAD.BAT 418 %ORACLE_HOME%\BIN\DB3LOAD.BAT
-
- .ENDIF
-
- .MESSAGE
- %NORMAL% Copying SQL*Loader message files into %ORACLE_HOME%\DBS...
-
- .FILES
- ULUS.MSB 46050 %ORACLE_HOME%\DBS\ULUS.MSB
- PRPUS.MSB 35266 %ORACLE_HOME%\DBS\PRPUS.MSB
-
- .MESSAGE
- %NORMAL% Copying example files into %ORACLE_HOME%\LOADER...
-
- .FILES
- CASE1.CTL 277 %ORACLE_HOME%\LOADER\CASE1.CTL
- CASE2.CTL 348 %ORACLE_HOME%\LOADER\CASE2.CTL
- CASE3.CTL 795 %ORACLE_HOME%\LOADER\CASE3.CTL
- CASE4.CTL 462 %ORACLE_HOME%\LOADER\CASE4.CTL
- CASE5.CTL 898 %ORACLE_HOME%\LOADER\CASE5.CTL
- CASE2.DAT 1080 %ORACLE_HOME%\LOADER\CASE2.DAT
- CASE4.DAT 594 %ORACLE_HOME%\LOADER\CASE4.DAT
- CASE5.DAT 430 %ORACLE_HOME%\LOADER\CASE5.DAT
- EMP.WK1 3211 %ORACLE_HOME%\LOADER\EMP.WK1
- EMP.DBF 1070 %ORACLE_HOME%\LOADER\EMP.DBF
- DEPT.WK1 1648 %ORACLE_HOME%\LOADER\DEPT.WK1
-
- .MESSAGE
- %NORMAL% Updating registration information...
-
- .REGISTERFILE
- %PRODUCT_NUMBER% %PRODUCT_NAME%
- %PRODUCT_VERSION%
- <DEINSTALL>
-
- .EXIT
-
- .<DISK_SPACE_HELP>
- %PRODUCT_NAME% requires %DISK_USAGE%00K to install. There is %FREE_SPACE%00K free on
- drive %ORACLE_DISK%:. You may try to proceed anyway. Unless you plan to install
- only a portion of it or you are reinstalling after an unsuccessful
- installation, ORAINST will probably terminate abnormally.
-
- .<REINSTALL_HELP>
- %PRODUCT_NAME% has an entry in REGISTER.ORA, indicating that it has
- been installed previously. You may either abort this installation and
- save the version you have already installed, or you may reinstall and
- overwrite the existing version. Entry in REGISTER.ORA follows.
-
- Product: %PRODUCT%
- Version: %VERSION%
-
- .<MODEHELP>
- Normally, you will install protected-mode executables. If you do not have
- extended memory or you are installing on an 8088- or 8086-based PC, choose
- real-mode executables. If you are unsure, choose both.
-
- .<DEINSTALL>
- %ORACLE_HOME%\PBIN\123PREP.COM
- %ORACLE_HOME%\PBIN\ASCPREP.COM
- %ORACLE_HOME%\PBIN\DB3PREP.COM
- %ORACLE_HOME%\PBIN\ODL2LDR.COM
- %ORACLE_HOME%\PBIN\SQLLOAD.COM
-