您的 Product Information Management (PIM) 資料由公司組織在 IBM® Product Master 中。 若要能夠登入 Product Master,您必須使用所提供的 Script 來建立測試公司。
關於此作業
<install
dir>/bin/db 中的 create_cmp.sh Script 可用來建立新公司。 create_cmp.sh Script 需要 –code 引數。
程序
- 使用下列 Shell Script 來建立綱目:
<install dir>/bin/db/create_cmp.sh
例如,
create_cmp.sh –code=<company code> --name=<company name>
該 Script 會在 <install dir>/logs/中建立 create_cmp.log 檔。
此 Script 會建立公司。 您可以在測試環境中使用這個空的測試公司。 您可以使用
create_cmp.sh Script 來建立更多測試公司。
附註: 當您使用 Script 來建立公司時, ID 和密碼資訊會寫在程式中,因此它們會區分大小寫。
- 透過執行下列 Shell Script ,建立名為 'test' (不含預先定義資料) 的空公司:
<install dir>/bin/db/create_cmp.sh --code=test
公司示範由單一使用者建立: Admin。 管理者 trinitron的密碼。 密碼會區分大小寫。 「管理」使用者是使用完整專用權建立的,且應該由管理者使用。
請記住:
- 只有在系統關閉時,您才必須執行 create_cmp.sh Shell Script。
- 您不得多次平行執行 create_cmp.sh Shell Script ,以便在給定時間執行多個實例,否則 Script 會失敗。
- 執行 create_cmp.sh 之後檢閱日誌檔,以檢查是否有錯誤。