Import Tablespace Script (attach_planner.bat)
To use the import tablespace script:
Navigate to the directory
JDEdwards\E920\planner\dataand run this script:TestPlannerDBs.batEdit the
attach_planner.batfile such that any tablespaces that you do not intend to import are commented out. These lines start with:call %DATA_PATH%\IMPORT_TABLESPACE.BATOpen a command prompt window by right-clicking on a Command Prompt shortcut and selecting Run as administrator.
Change directory to the location of the batch files.
Run the batch file to import the tablespace using this syntax:
attach_planner.bat <database_password> <E1_install_dir>For example:
attach_planner.bat default c:\JDEdwards\E920Note:This import batch file for the local metadata repository is in the spec directory:
attach_metadata.bat