IEASDUMP.SERVER dynamic exit processing

All IEASDUMP.SERVER exits that are defined receive control when SDATA=SERVERS are specified on the SDUMPX macro, on the DUMP command, or on an SDUMP option of the CHNGDUMP SDUMP command.

The IEASDUMP.SERVER exit receives control before the system obtains the areas to be dumped. The exit receives control in the DUMPSRV address space.

The current dump request is provided to the caller and is mapped by the IHASDMSE mapping macro. For example:
If the return code indicates that data should be added, the exit can add the areas to be dumped, specifying them in the area mapped by the IHASDMSE mapping macro. For example:
The exit can place data to be dumped in a 4096-byte work area supplied by the system. The address of the work area is in the SDMSE_INPUT_WORKAREA_ADDR field. If the exit requires more storage, the exit should request it with a GETMAIN or STORAGE OBTAIN macro and describe it as follows:

Upon return from the exit, the system releases the storage described by these fields.

Code the IEASDUMP.SERVER exit to be reentrant.