Copying Libraries and Directories (Release 9.2.6.0)

To copy libraries and directories:

  1. End JD Edwards EnterpriseOne services, if necessary.

  2. Remove JD Edwards EnterpriseOne security, if necessary.

  3. From the IBM i main menu, copy the JD Edwards EnterpriseOne system library in the QSYS file system by typing this command:

    CPYLIB E920SYS E920CST
    

    Where E920CST is the name for the system library in the new instance of JD Edwards EnterpriseOne.

  4. From the IBM i main menu, copy the JD Edwards EnterpriseOne system directory in the IFS by first the using this command to create a temporary library:

    CRTLIB TEMPLIB
    
  5. Create a save file in the temporary library for the system directory by typing this command:

    CRTSAVF FILE (TEMPLIB/E920SYS)
    
  6. Save the system directory into the save file by typing this command:

    SAV DEV ('/QSYS.LIB/TEMPLIB/E920SYS.FILE') OBJ(('/E920SYS)) USEOPTBLK(*NO) DTACPR
    (*YES)
    
  7. Restore the save file for the system directory to a directory with a new name by typing this command:

    RST DEV('/QSYS.LIB/TEMPLIB/E920SYS.FILE') OBJ(('/E920sys/*' *INCLUDE/E920cst'))
    

    Where E920cst is the name of the new system directory.

    Note: Throughout the entire copying procedure, the name for the new directories and libraries must match.
  8. From the IBM i main menu, copy the package name library in the QSYS file system by typing this command:

    CPYLIB <PD package name> <CST new package name>
    

    In the above command, CST new package name is the name of the package library specified in the spec.ini file for the new instance of JD Edwards EnterpriseOne. The name of the library for the new instance cannot exceed 10 characters.

    Note: The package name library for any environment that you intend to use for a new instance of JD Edwards EnterpriseOne must be copied to the new library. You cannot share package name directories between two or more instances of JD Edwards EnterpriseOne because such sharing might corrupt the specification file.
  9. From the IBM i main menu, copy the path code directory in the IFS by first using this command to create a save file in the temporary library:

    CRTSAVF FILE(TEMPLIB/PRD920)
    
    Note: You must follow the procedure for copying the path code directory for each path code that you copy.
  10. Save the path code directory into the save file by typing this command:

    SAV DEV('QSYS.LIB/TEMPLIB/PRD920.FILE') OBJ(('/prd920/*')) USEOPTBLK(*NO) DTACPR
    (*YES)
    
  11. Restore the save file for the path code directory to a directory with a new name by typing this command:

    RST DEV('QSYS.LIB/TEMPLIB/PRD920.FILE') OBJ(('/prd920/*' INCLUDE '/cst920'))
    

    Where cst920 is the name of the new path code directory.

  12. From the IBM i main menu, create a JD Edwards EnterpriseOne subsystem from the system library by typing this command:

    CRTOWSBS <subsystem name> <system library>
    

    Where <subsystem name> is the name you give to the JD Edwards EnterpriseOne subsystem for the new instance of JD Edwards EnterpriseOne, and <system library> is the name of the system library in the QSYS file system for the new instance of JD Edwards EnterpriseOne.

    Note: You can use the same subsystem for multiple instances of JD Edwards EnterpriseOne.
  13. Modify these parameters in the INI library:

    [INSTALL]
    DefaultSystem=<System Library>
    
    [JDEIPC]
    startIPCKeyValue=<Unused start key not within another instance's IPC range>
    
    [JDENET]
    serviceNameListen=<Available port>
    serviceNameConnect=<Available port>
    
    [DB SYSTEM SETTINGS]
    Default Env=<New environment>
    Default PathCode=<New path code>
    
  14. Open the spec.ini file under the pathcode directory and change the package name to the new package name.