HFZWRITE command
The HFZWRITE command is used to pass data records from a user exit to Z Abend Investigator. It can only be used in a Compiler Listing Read, Message and Abend Code Explanation, Formatting, or Notification user exit. The type of data that can be provided via the HFZWRITE command is subject to the type of the user exit from which it is used. For more information, see the general section about each of the user exit types.
where:
- var_name
- The name of a variable containing the data record.
If the HFZWRITE command is used without var_name, data records must be passed using the exit-specific data area as described for the relevant exit types.
Return codes
The HFZWRITE command provides the following
return codes:
- 0
- The record was written successfully.
- 2
- Writing of records has been disabled due to previous errors.
- 4
- The record was not written due to errors. An explanation of the error is written to the HFZTRACE DDname.
- 8
- Command syntax error. An explanation of the error is written to the HFZTRACE DDname.