Installing the sample application

It is important that the sample application (IDISFEMA) executes using the same ISPF application ID as the main Fault Analyzer ISPF application. If it does not, then updates made by the sample to ISPF variables are not correctly picked up. A way to use the sample is to add a new ISPF command, which invokes the main sample program using the same ISPF NEWAPPL application as is used for the 'normal' invocation of Fault Analyzer. For example, add the following command to a 'USER' command table, which is used by Fault Analyzer ISPF users:
Verb      T  Action
FASEL     0  SELECT CMD(%IDISFEMA &ZPARM) NEWAPPL(IDI)
This command assumes that Fault Analyzer is normally invoked using a NEWAPPL of IDI, for example from an application selection panel using a command similar to the following:
9,PGM(IDIPDDIR) NEWAPPL(IDI) SCRNAME(FAULTA)

As well as the above, the CLIST IDISFECL must be in one of the data sets that is allocated to the user's SYSPROC concatenation.