Using the recovery routine

z/OS XML provides an ARR recovery routine to assist with problem determination and diagnostics. In the C/C++ environment, the recovery routine is provided as the default setting in most cases and will recover the code and collect dumps for most abends that occur during a parse. For unauthorized C/C++ callers, an IEATDUMP will be taken in data set userid.GXLSCXML.DYYMMDD.THHMMSS.DUMP, where the userid is extracted from the task level ACEE if present or the address space ACEE, and where DYYMMDD is the date and THHMMSS is the time the dump was taken. For authorized C/C++ callers, an SDUMPX will be taken into a system dump data set. See ARR recovery routine for more information.

In order to effectively use the recovery routine, you must set the following runtime option: TRAP(ON,NOSPIE). If this runtime option is not set, unpredictable behavior may result with regard to recovery.