Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
ACC Utilities Reference Guide > Chapter 1 ZDGEN - ZCOM Device Table Generator

Running ZDGEN

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The ZDGEN program reads the ASCII device definition file and generates a binary file that is used by TTGEN to build the memory image file for the ZCOM system.

The run string for ZDGEN is as follows:

zdgen <InputFile> <DeviceFile>
- <InputFile>  is the ASCII file
- <DeviceFile> is the generated binary device file

Remember to specify as much of the directory path of each of the file names as is necessary. Usually, InputFile is specified as /opt/acc/cfg/zcomdevice.txt and DeviceFile is specified as /opt/acc/cfg/zcomdevice. ZDGEN does not default to these file names, because there are some circumstances where it is useful to specify an alternate.

The getdevice routine, as used by TTGEN, also uses the ZDGEN generated ZCOM device file /opt/acc/cfg/zcomdevice. getdevice is also called by the ZCOM utility programs ZTERM and ZMNTR, so these programs also require the ZCOM device file /opt/acc/cfg/zcomdevice. See the ACC Programmer's Reference Guide for information on the getdevice routine.

If DeviceFile already exists, the program will ask whether to purge the existing file before it proceeds.

When the conversion is finished, the program displays how many lines were read, and how many devices were defined.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2000 Hewlett-Packard Development Company, L.P.