The _IDI_OPTS environment variable

Your application program can initialize an environment variable, _IDI_OPTS, with options for Fault Analyzer prior to abending or calling IDISNAP.

Example:
//* Sample BPXBATCH job
//RUN EXEC PGM=BPXBATCH, …
⋮
//STDENV   DD *
_IDI_OPTS=DataSets(IDIHIST(MY.HIST)),Detail(L)
⋮
/*