How the sample works

So that the MATCH command string can be passed and executed by the Fault Analyzer ISPF interface, an intermediary CLIST is used (IDISFECL). This CLIST is invoked by passing an invocation command in the COMMAND option of an ISPF DISPLAY PANEL command. When the COMMAND option is specified on a DISPLAY PANEL command, the actual PANEL referenced is not displayed, and the command in the COMMAND options is executed. For example, if a program name of MYPROG1 had been entered, the following command string is created:
TSO IDISFECL;;MATCH PROGRAM MYPROG1
This command string, which is assigned to variable CMDSTACK in the sample code, is referenced in the ISPF DISPLAY command as follows:
Address ISPEXEC 'DISPLAY PANEL(IDISFEAP) COMMAND(CMDSTACK)'