Using the Extract/Replace Routine

Application programs may need system data that can exist in one place in system storage (single occurrence of data) or it may exist in more than one place (multiple occurrences of data). No matter where or how many places the system information exists, an application can use the CSL Extract/Replace routine, DMSERP, to find the information.

DMSERP has these functions:
  • GETENV—set up an Extract/Replace environment that is protected against accidental alteration.
  • EXTRACT and EXT:envir—obtain selected system information
  • REPLACE and REP:envir—modify selected system information
  • RESET and RES:envir—initialize an Extract/Replace environment.

For reference information on the DMSERP routine, see the z/VM: CMS Callable Services Reference.