Using Host Emulator

Host Emulator is a browser-based tool that allows you to run and test 3270 and 5250 models created with the Design Tool without having a live connection to a host. To simulate this live connection, the Host Emulator opens the "master" model component, such as CCSDemoMaster, of the host application model while the corresponding "normal" model, or CCSDemo, is loaded in the Design Tool or Host Integrator Server. For more information about viewing and creating your own master models, see the Host Emulator Reference. To view examples of both types of models, see the example models installed folders beneath your \<VHI install directory>\models folder.

The Host Emulator is started by default. If it has been stopped, click Start > Programs > Attachmate Verastream > Host Integrator > Services > Host Emulator > Start Host Emulator.

Note: Use Host Emulator with version 6.0 models only.

To configure Host Emulator:

  1. Open the Host Emulator console by pointing to Programs > Attachmate Verastream > Host Integrator > Host Emulator Configuration. By default, details about the "Master" models provided with this installation should be listed.
  2. To simulate a live connection to a host, open the model in the Design Tool and click Connect to localhost via Telnet on the Connection menu.

    The Host Emulator will be referred to as "localhost" throughout the modeling process.

Before you create a model, follow these steps:

  1. On the Connection menu, point to Host Emulator Recording, and select Enable. This allows you to record screen traces as you create your model.

  2. Use the Host Emulator Screen Traces Status dialog box to make sure there are no missing traces. On the Connection menu, point to Host Emulator Recording, and click Screen Traces Status to open. An exclamation point means that your entity or operation is missing a screen trace. If you are missing a screen trace, use the Entity window to navigate to the entity and select the operation in question from the Name box on the Operation tab. Click the Execute button to update the trace.

    Tip: To synchronize a trace or if data changes and your Host Emulator trace is inaccurate, point to Host Emulator Recording on the Connection menu and select Overwrite Traces. Then, use the Entity window to navigate to the entity and select the operation in question from the Name box on the Operation tab. Click the Execute button to update the trace. Make sure to disable Overwrite Traces after you've updated the trace.

  3. On the Model menu, click Properties and select a Host Emulator first entity.

  4. On the File menu, click Save and select the Save Host Emulator navigation file check box before saving your model. Make sure to save a navigation file for your model in the Design Tool before exiting or it will not be recognized by the Host Emulator.

Notes: