The _HFZ_OPTSFILE environment variable

Your application program can initialize an environment variable, _HFZ_OPTSFILE, with an MVS™ data set (and optionally, member) name, or an HFS path and file name, containing options for Z Abend Investigator, prior to abending or calling HFZSNAP.

Example:
//* Sample BPXBATCH job
//RUN EXEC PGM=BPXBATCH, …
⋮
//STDENV   DD * (select one of the following)
_HFZ_OPTSFILE=//my.SEQ.OPTIONS
_HFZ_OPTSFILE=//my.PDS.OPTIONS(faopts)
_HFZ_OPTSFILE=/u/fred/options_file
⋮
/*
Note: No attempt is made to read options through the HFZOPTS DDname (see User options file HFZOPTS) if a user options file is found through the _HFZ_OPTSFILE environment variable.