# Hercules Version 3: System Messages: IF - hercifc

This page describes the messages for the Hercules S/370, ESA/390, and z/Architecture emulator utility program `hercifc`.

### Messages

`HHCIF001E programname: Must be called from within Hercules.`
  Meaning
    This program can only be called from Hercules itself, and may not be executed from the command line. The program was executed using the name `programname`.
  Action
    Don't do that.
  Issued by
    hercifc.c, function main
`HHCIF002E programname: Cannot obtain socket: error`
  Meaning
    An attempt to obtain a socket for controlling the destination interface failed. The error is described by `error`. The program was executed using the name `programname`.
  Action
    Correct the error and retry the operation.
  Issued by
    hercifc.c, function main
`HHCIF003E programname: I/O error on read: error`
  Meaning
    An attempt to read a request from Hercules failed. The error is described by `error`. The program was executed using the name `programname`.
  Action
    Correct the error and retry the operation.
  Issued by
    hercifc.c, function main
`HHCIF004W programname: Unknown request: request.`
  Meaning
    The request from Hercules was invalid. The request code was `request`. The request has been ignored. The program was executed using the name `programname`.
  Action
    Make sure that the `hercifc` program is the same version as the running copy of Hercules. If so, this is an internal error. Report it.
  Issued by
    hercifc.c, function main
`HHCIF005E programname: ioctl error doing operation on interface: error`
  Meaning
    An attempt to perform an ioctl operation, `operation`, on interface `interface` failed. The error is described by `error`. The program was executed using the name `programname`.
  Action
    Correct the error and retry the operation.
  Issued by
    hercifc.c, function main

If you have a question about Hercules, see the Hercules Frequently-Asked Questions page.

Last updated 3 October 2003