ターミナルを使用したコードのインポート
ここでは、ターミナルを使用してファイルをインポートする手順を説明します。
-
ターミナルを開いて、ZN コマンドを使用して ENSDEMO ネームスペースに切り替えます。
USER>ZN "Ensdemo" ENSDEMO>
-
次のコマンドを使用して、XML ファイルからコードをロードしてコンパイルします。
ENSDEMO>Do $System.OBJ.Load("C:\InterSystems\Ensemble\dev\tutorials\testingproductions\HL7.xml","ck") Load started on 10/02/2014 10:59:24 Loading file C:\InterSystems\Ensemble\dev\tutorials\testingproductions\HL7.xml as xml Imported class: Tutorial.HL7ExampleProduction Imported class: Tutorial.HL7ProductionTest Imported class: Tutorial.RemoveNameSSNDTL Imported class: Tutorial.TutorialHL7MessageRouterRules, compiling 4 classes, using 8 worker jobs Compiling class Tutorial.TutorialHL7MessageRouterRules Compiling class Tutorial.HL7ExampleProduction Compiling class Tutorial.HL7ProductionTest Compiling class Tutorial.RemoveNameSSNDTL Compiling routine Tutorial.TutorialHL7MessageRouterRules.1 Compiling routine Tutorial.RemoveNameSSNDTL.1 Compiling routine Tutorial.HL7ExampleProduction.1 Compiling routine Tutorial.HL7ProductionTest.1 Load finished successfully.
Note:
このチュートリアルで使用するファイルは、<ensemble-install>/dev/tutorial/testingproductions にあります。Windows 上のデフォルト・インストール先の場合は、<ensemble-install> は C:\InterSystems\Ensemble です。