# Hercules Version 3: System Messages: PU - Card Punch Emulation

This page describes the card punch emulation messages for the Hercules S/370, ESA/390, and z/Architecture emulator.

### Messages

`HHCPU001E File name missing or invalid`
  Meaning
    The file name specified for punched output is invalid, or no file name is given.
  Action
    Correct the error and retry the operation.
  Issued by
    cardpch.c, function cardpch_init_handler
`HHCPU002E Invalid argument: argument`
  Meaning
    An invalid argument, `argument`, was specified for the card punch. Valid arguments are `ascii`, `ebcdic`, and `crlf`.
  Action
    Correct the invalid argument and retry the operation.
  Issued by
    cardpch.c, function cardpch_init_handler
`HHCPU003E Error opening file filename: error`
  Meaning
    The file named `filename` could not be opened for output of card punch data. The error is described by `error`.
  Action
    Correct the error and retry the operation.
  Issued by
    cardpch.c, function cardpch_execute_ccw
`HHCPU004E Error writing to filename: error`
  Meaning
    The file named `filename` encountered an error while writing card punch data. The error is described by `error`.
  Action
    Correct the error and retry the operation.
  Issued by
    cardpch.c, function write_buffer

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

Last updated $Date: 2007/10/06 19:44:28 $ $Revision: 1.6 $