The _IDI_OPTSFILE environment variable

Your application program can initialize an environment variable, _IDI_OPTSFILE, with an MVS data set (and optionally, member) name, or an HFS path and file name, containing options for Fault Analyzer, prior to abending or calling IDISNAP.

  • MVS data set name specification

    If specifying an MVS data set name, then the name must be immediately preceded by two forward slashes (//). The specified data set name is not case sensitive.

    The specified user options file must be fixed 80-byte record length format and all options must be specified within columns 1 - 71.

  • HFS path and file name specification

    If specifying an HFS path and file name, then the name must not be preceded by two forward slashes.

    The specified user options file is not subject to any particular attributes and options can be specified in any columns.

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