Considerations for Using Z and I Emulator for Windows Sessions

This chapter contains general hints and tips for using Z and I Emulator for Windows sessions. Supplementary information other than the items described in this book are included in the Readme HTML file in the Z and I Emulator for Windows directory.

Usage Notes for Sessions in OLE Documents

Changing Fonts

If you are using an In-Place embedded session, then changing the font face name, switching between automatic sizing and fixed size, or changing the size for a fixed size font can result in an incorrect display on the screen. To correct the display, adjust the size of the session object window slightly.

Initial Selection of Font

The initial font selection for a embedded or linked session is determined by its Session ID (a letter A - Z or a - z) just like a regular session. Therefore, the initial font might change if other sessions are already active. Further, to prevent In-Place embedded sessions from having adverse effects on subsequent sessions, font changes made during use of In-Place embedded sessions are not saved.


Z and I Emulator for Windows session objects created in Microsoft WordPad documents by the drag-and-drop method cannot be used after the document has been saved and closed. You should only create Z and I Emulator for Windows objects in WordPad by using the Insert -> Object menu option.

Some versions of Microsoft Word and Microsoft WordPad incorrectly save the state of embedded objects that are displayed as icons. If you open a document that contains a Z and I Emulator for Windows session object that was created to display as an icon, and the object is activated, then it might activate in-place, instead of as a separate window.


If you attempt to open a link to a Z and I Emulator for Windows session in a Lotus® WordPro document, WordPro might give unpredictable results. You should only use embedded Z and I Emulator for Windows objects in WordPro documents. You can use the Display as Icon option if a separate window is desired.

Updating Linked Files

Files that are linked into Word 97 or Excel 97 do not update automatically. You must manually save the linked file before your edits are reflected in the container window.

Inactivity Timeout for Communication Links

The Inactivity Timeout automatically disconnects a link after it has been idle for a specified length of time. Its purpose is to avoid excessive charges on dial-up links, such as switched-line connections . Inactivity Timeout is not recommended for other types of connections.

To enable Inactivity Timeout, add the following statement to the PU section of your workstation profile (.WS file):


The value xxx, in the range 1 to 999, is the number of minutes a link remains connected when there is no activity over it. The default value, InactiveTimeout=0, disables Inactivity Timeout.

The Inactivity Timeout function monitors only attention keys (that is, the Enter, Clear, and PFx keys). It is recommended that you set a comparably longer value for xxx if, for example, you expect to key in large amounts of data on the screen before pressing the Enter key.

Environment Considerations

The following are environmental considerations for Z and I Emulator for Windows.

Virtual Memory

If you receive a message stating that the system is low on virtual memory, increase the size of the virtual memory paging file. If you receive this message while trying to open new host sessions or starting a Z and I Emulator for Windows function such as File Transfer, increase the amount of virtual memory.

Refer to the operating system documentation for instructions on how to increase the size of the paging file.

Emulator Session Icons

Emulator session icons that were not migrated during installation of Z and I Emulator for Windows Version 1.0 will not function correctly if they were not created in the application data directory that was specified during installation. The icons can be updated by using the File -> Import option from the Session Manager. This option will not copy the prior icons to the application data directory specified during installation; the icons must be moved manually

Disabling CDRA Tables

This release uses the standard IBM® CDRA translation tables when converting between ASCII and EBCDIC. From some code page pairs, the standard tables differ from those that Z and I Emulator for Windows has used in the past. For code pages that were supported in prior releases, you can configure Z and I Emulator for Windows to use the old tables. A switch is available in PCSWIN.INI to disable the use of CDRA tables. This switch is located in the Translate section and is named UseOnlyZIEWin. This switch takes a binary value and is defaulted to FALSE (except for Japan, Korea, Taiwan, and PRC where it defaults to TRUE). For the code pages that are new to Version 1.0, you must use the standard tables. Setting the switch will apply to all sessions, as well as data transfer and command line file transfer.