Procedure A: Initialize and run stand-alone dump

Use the following procedure to initialize and run a stand-alone dump.

  1. Ready the residence device. If it is a tape, mount the volume on a device attached to the selected processor and ensure that the Start of changetape cartridge is write-enabledEnd of change. If it is a DASD volume, ensure that it is write-enabled.

    If you mirror the SADMP IPL volume to a device in an alternate subchannel set and have swapped so that the devices in the alternate subchannel set are now in use, prefix the SADMP IPL device number with the subchannel set id when you specify the SADMP IPL device. In this case, DASD SADMP output devices should be defined in the alternate subchannel set as well.

  2. If dumping a failed stand-alone dump program, in order to diagnose the stand-alone dump failure, select the Store Status option during the IPL, or perform a manual Store Status. Otherwise, for all other cases, do not perform a Store Status because the machine automatically performs a Store Status when it is necessary.
  3. IPL stand-alone dump.

    Stand-alone dump does not communicate with the operator console. Instead, stand-alone dump loads an enabled wait PSW with wait reason code X'3E0000'. The IPLing of the stand-alone dump program causes absolute storage (X'0'-X'18' and storage beginning at X'FC0') to be overlaid with CCWs. You should be aware of this and not consider it as a low storage overlay.

    Note: Stand-alone dump uses the PSW to communicate with the operator or system programmer.

    Stand-alone dump waits for a console I/O interrupt or an external interrupt.

  4. When stand-alone dump is IPLed, you can specify a load parm that alters the operation of stand-alone dump. The format of the load parm is Saddddo.
    S
    The constant S must be specified as the first character or the load parm will be ignored.
    a
    The a specification allows stand-alone dump to start using a console without the operator performing any action on it. It also allows stand-alone dump to bypass the prompts for which output device and default dump title to use. You can specify the following values for a:
    N
    No console communication requested. Use default dump device and title. Execution begins with no console messages. No prompting to the operator is allowed. If a prompt occurs, a wait state will be loaded.
    O
    Use the default console with the default dump device and title. No prompting to the operator is allowed. If a prompt occurs, a wait state will be loaded.
    M
    Use the default console with the default dump device and title. Additional prompts can be made to the operator if they are needed.
    C
    Use the default console. The operator must respond to all prompts.
    P
    Wait for an interrupt from the console device that is to be used. If you do not supply the load parm, this is the default.
    dddd
    The dddd specification is the default console device. It must be one of the devices specified as a console device on the AMDSADMP macro when the stand–alone dump was generated, or the constant SYSC for the hardware system console. If you do not specify a default console device, then the stand–alone dump will use the first console defined on the AMDSADMP macro when the stand–alone dump was generated.

    The AMDSADMP macro allows you to specify SYSC as the first console in the console list. If you do this without specifying a console device in the load parm, the hardware system console will be the default console device.

    o
    The o field contains flags, and the second bit (bit 1) indicates that SADMP must start an IPL of MVS™ at the conclusion of its processing. If bit 1 is on, and SADMP locates an AutoIPL policy within MVS storage that specifies a re-IPL of MVS, SADMP uses the information to initiate an IPL of MVS. For details about AutoIPL, see topic about Using the automatic IPL function in z/OS MVS Planning: Operations.

    The valid values for the o field are '0', '4' or blank. '0' or blank leaves all bits off. '4' sets bit 1 on. Bit 1 is intended to automate the re-IPL of MVS when SADMP is initiated manually. IBM® recommends that it be left off otherwise.

    If you do not use the load parm, select the system console or an operator console with a device address that is in the console list that you specified at stand-alone dump generation time (in the CONSOLE keyword of AMDSADMP). At stand-alone dump run time, the operator can choose either a console specified with the CONSOLE= keyword or the system console to control stand-alone dump operation. If an operator console is chosen, press ATTENTION or ENTER on that console. (On some consoles, you might have to press RESET first.) This causes an interruption that informs stand-alone dump of the console's address. Message AMD001A appears on the console.
    1. Ready an output device. When you dump to devices that have both real and virtual addresses (for example, dumping a VM system), specify the Start of changevirtualEnd of change address to the stand-alone dump program. If you are dumping to tape, ensure that the tape cartridge is write-enabled and Start of changeunlabeledEnd of change. If you are dumping to DASD, ensure that the DASD data set has been initialized using the IPCS SADMP or AMDSADDD REXX dump data set utilities.
    2. Reply with the device number for the output device. Note: A DASD output device must be in the same subchannel set as the device from which the stand-alone dump is IPLed, and only the specification of a 4-digit device number is allowed. So, for example, if in reply to the device number prompt, you enter 4180 and the stand-alone dump has been IPLed from device 15660, device 4180 is assumed to be in subchannel set 1, or in this example, 14180. If you are dumping to a DASD device and DDSPROMPT=YES was specified on the AMDSADMP macro, message AMD002A is issued to prompt the operator for a dump data set. IF DDSPROMPT=NO was specified, message AMD002A is not issued and the stand-alone dump program assumes that the dump data set name is SYS1.SADMP.
      Note:
      1. Pressing ENTER in response to message AMD001A will cause the stand-alone dump program to use the default device specified on the OUTPUT= keyword of the AMDSADMP macro. If the default device is a DASD device, then pressing the ENTER key in response to message AMD001A will cause the stand-alone dump program to use both the default device and the dump data set specified on the OUTPUT= keyword of the AMDSADMP macro. If no dump data set name was provided on the OUTPUT= keyword and the DDSPROMPT=YES keyword was specified, message AMD002A is issued to prompt the operator for a dump data set. If DDSPROMPT=NO was specified, then the stand-alone dump program assumes that the dump data set name is SYS1.SADMP.
      2. If you reply with the device number of an attached device that is not of the required device type, or if the device causes certain types of I/O errors, stand-alone dump might load a disabled wait PSW. When this occurs, use procedure B to restart stand-alone dump.
    3. Stand-alone dump prompts you, with message AMD011A, for a dump title.

    In Figure 1, the dump is initialized using a load parm with no console prompts.

    Figure 1. Example: Using a load parm to perform a stand-alone dump
    AMD083I   AMDSADMP:  STAND-ALONE DUMP INITIALIZED
    AMD101I   OUTPUT DEVICE: 0330 SADMP1 SYS1.SADMP
              SENSE ID DATA: FF 3990 E9 3390 0A  BLOCKSIZE:  24,960
    AMD005I   DUMPING OF REAL STORAGE NOW IN PROGRESS.
    AMD005I   DUMPING OF PAGE FRAME TABLE COMPLETED.
    AMD005I   DUMPING OF REAL STORAGE FOR MINIMAL ASIDS COMPLETED.
    AMD005I   DUMPING OF REAL STORAGE FOR SUMMARY ASIDS COMPLETED.
    AMD005I   DUMPING OF REAL STORAGE FOR SWAPPED-IN ASIDS COMPLETED.
    AMD005I   DUMPING OF REAL STORAGE IN-USE REAL STORAGE COMPLETED.
    AMD005I   DUMPING OF REAL STORAGE SUSPENDED.
    AMD108I   DUMPING OF AUXILIARY STORAGE FOR MINIMAL ASIDS COMPLETED
    AMD108I   DUMPING OF AUXILIARY STORAGE FOR SUMMARY ASIDS COMPLETED
    AMD108I   DUMPING OF AUXILIARY STORAGE FOR SWAPPED-IN ASIDS COMPLETED
    AMD108I   DUMPING OF AUXILIARY STORAGE FOR SWAPPED-OUT ASIDS COMPLETED
    AMD056I   DUMPING OF AUXILLIARY STORAGE COMPLETED.
    AMD005I   DUMPING OF REAL STORAGE RESUMED. 
    AMD005I   DUMPING OF AVAILABLE REAL STORAGE COMPLETED
    AMD005I   DUMPING OF REAL STORAGE COMPLETED.      
    AMD104I   STAND-ALONE DUMP PROCESSING COMPLETED. 
              DEVICE   VOLUME 	 USED  	DATA SET NAME 
        1     0330  	  SADMP1 	 43%   	SYS1.SADMP 
  5. When no console is available, run stand-alone dump without a console.
    1. Ready the default output device that was specified on the OUTPUT parameter on the AMDSADMP macro. For tapes, ensure that the tape cartridge is write-enabled. For DASD, ensure that the dump data set has been initialized using the AMDSADDD REXX or IPCS SADMP dump data set utilities.
    2. Enter an external interruption on the processor that stand-alone dump was IPLed from. Stand-alone dump proceeds using the default output device and/or the default dump data set. No messages appear on any consoles; stand-alone dump uses PSW wait reason codes to communicate to the operator.
  6. Stand-Alone dump first processes the real storage in ASID order. The message AMD005I is issued after each phase to display the status of the dump.
    1. Phase 1 dumps the Page Frame Table and its related structures in virtual order.
    2. The next three phases dump real storage associated with the minimal, summary and swapped-in ASIDs in virtual order.
    3. Phase 5 dumps the In-Use real storage in real order.
  7. Stand-Alone dump processes the paged-out storage in virtual order based on customer specifications. Message AMD108I is issued to display the status of the virtual phase of the dump
    1. Phases 6 to 8 dumps the paged-out storage of minimal, summary and swapped-in ASIDs. At end of phase VIII, all storage associated with the swapped-in ASIDs has been dumped.
    2. Phase 9 dumps the storage of swapped-out ASIDs.
  8. Stand-Alone dump proceeds to dump the available real storage in Phase 10. The storage dumped during this phase includes the real frames that were not dumped earlier. At the completion of this phase, message AMD104I is issued to signal the end of the dump.
  9. When stand-alone dump begins dumping real storage (Phase 1 to Phase 5 and Phase 10) it issues message AMD005I. Message AMD095I is issued every 30 seconds to illustrate the process of the dump. Message AMD005I will be issued as specific portions of real storage have been dumped, as well as upon completion of the real dump. Stand-alone dump can end at this step.
  10. When stand-alone dump is dumping virtual storage, it issues message AMD108I as specific portions of virtual storage is dumped. Message AMD056I is issued to signal the end of virtual phase dump.
  11. If you specified PROMPT on the AMDSADMP macro, stand-alone dump prompts you for additional storage that you want dumped by issuing message AMD059D.
  12. Stand-alone dump dumps paged-out virtual storage, the stand-alone dump message log, and issues message AMD095I every 30 seconds to illustrate the progress of the dump.
  13. When stand-alone dump completes processing, stand-alone dump unloads the tape, if there is one, and enters a wait reason code X'410000'.

See z/OS MVS System Codes for more information about the wait state reason codes loaded into the PSW.

Note: Some processor models do not allow selection of a specific processor to IPL from. Normally, the processor previously IPL'ed is selected again for this IPL.