Skip to main content

Standalone Dump on an OS/390 Early Test System

  1. The SDTSC must provide a disk volume to which the OS/390 Stand Alone Dump will be written (there may be a fee.) Typically, this will be address D3F for 1112 cylinders of 3390 disk space with volume serial label VPSADA.

  2. On the ETP system where the stand alone dump dump will be taken, create the standalone dump program for IPL by running LVL0.SVSC.CNTL(SAD1@). The contents of LVL0.SVSC.CNTL(SAD1@) are shown below for reference.
    //SAD@     JOB (ACCT),SAD.DUMP,
    //             NOTIFY=&SYSUID,
    //             CLASS=A,MSGCLASS=H
    //*
    //* GENERATE STANDALONE DUMP USING TWO-STAGE METHOD.
    //* BE SURE TO RUN STAGE TWO JOB IN MVS.STAGE2.SADUMP
    //*
    //* BESURE TO RUN AMDSADDD CLIST TO INITIALIZE THE DISK DATA SET WHICH
    //* WILL RECEIVE THE STANDALONE DUMP TO DISK.
    //*
    //* THIS JOB MIGHT GET A CC=8 IF THE SYS1.PAGEDUMP.VVPMVSB DATA SET
    //* DOES NOT EXIST.
    //*
    //*
    //* DELETE DATASET WHICH STAGE2 JOB WILL CREATE ON VPMVSB
    //*
    //RENJS24 EXEC PGM=IEHPROGM
    //SYSPRINT DD  SYSOUT=*
    //DD1      DD  UNIT=SYSDA,VOL=SER=VPMVSB,DISP=OLD
    //SYSIN    DD  *
      SCRATCH      DSNAME=SYS1.PAGEDUMP.VVPMVSB,PURGE,                     +
                   VOL=3390=VPMVSB                                /*JESDS*/
    /*
    //*
    //* DELETE STAGE-TWO DATASET
    //*
    //ST1      EXEC PGM=IDCAMS,COND=(8,LT)
    //SYSPRINT DD SYSOUT=*
    //SYSIN    DD *
     DEL MVS.STAGE2.SADUMP
     SET MAXCC = 0
    /*
    //ASMBLR2 EXEC PGM=ASMA90,REGION=1024K,COND=(8,LT),
    //             PARM='DECK,NOOBJ'
    //*
    //*
    //SYSLIB   DD  DISP=SHR,DSN=SYS1.MACLIB,
    //             UNIT=SYSDA,VOL=SER=VTMVSH
    //         DD  DISP=SHR,DSN=SYS1.MODGEN,
    //             UNIT=SYSDA,VOL=SER=VTMVSH
    //SYSUT1   DD  UNIT=SYSALLDA,SPACE=(1700,(600,100))
    //SYSPRINT DD  SYSOUT=*
    //SYSYLIN  DD  SYSOUT=*
    //SYSPUNCH DD  DISP=(NEW,CATLG),DSN=MVS.STAGE2.SADUMP,
    //             UNIT=SYSDA,SPACE=(TRK,(1,1),RLSE)
    //SYSIN    DD  *
    DMPBLD1   AMDSADMP   MINASID=ALL,DDSPROMPT=YES,                        +
                   CONSOLE=((3E1,3277),(E00,3277),(E01,3277),(F02,3277),(F0+
                   3,3277)),MSG=ALL,IPL=DSYSDA,VOLSER=VPMVSB,OUTPUT=D0D3F
              END
    /*
    //
         

  3. The result of running the stage one stand alone dump job above is a stream of JCL in data set MVS.STAGE2.SADUMP. Run the job in MVS.STAGE2.SADUMP. There are no modifications required to the JCL in MVS.STAGE2.SADUMP. (Check the SYSLOG, a message posted by ICKDSF my need to be answered to write IPL text on address CE3. Allow ICKDSF to write on address CE3.)

    The result of running MVS.STAGE2.SADUMP is the target volume (in these examples, volume label VPMVSB, address CE3) contains the Stand Alone dump program which is ready for IPL.

  4. Format the disk area where the stand alone dump will be written by running the JCL stream in LVL0.SVSC.CNTL(SAD2@). The contents of LVL0.SVSC.CNTL(SAD2@) are shown below for reference. The dump is usually written to volume label VPSADA, address D3F.
    //SAD2@    JOB (ACCT),SAD.DUMP,
    //             REGION=4M,COND=(0,NE),
    //             CLASS=A,MSGCLASS=H,NOTIFY=&SYSUID
    //*
    //* FORMAT DUMP DATASET
    //*
    //S1      EXEC PGM=IKJEFT01,DYNAMNBR=20
    //SYSLBC   DD  DISP=SHR,DSN=SYS1.BRODCAST
    //SYSTSPRT DD  SYSOUT=*
    //SYSTSIN  DD  DATA,DLM='%%'
    EXEC 'SYS1.SAMPLIB(AMDSADDD)' 'REALLOC VPSADA(MVS1.SADMP) 3390 1111 NO'
    %%
    /*
    //
        
  5. OS/390 Stand Alone Dump (SAD) is ready to use. When the error occurs start stand alone dump as described below.

    In the example commands below the OS/390 userid running SAD is ETPAABB. Substitute the OS/390 userid for ETPAABB.


    1. From the VM control userid issue this command,
      send etpaabb \cp stop

      The system will respond with READY.

    2. From the VM control userid issue this command,
      send etpaabb \cp store status

      The system will respond with

      ETPAABB : Store complete.

    3. From the VM control userid issue this command,
      send etpaabb \cp i ce3

      The system will respond with READY.


    4. From the VM control userid issue this command,
      send etpaabb \cp d psw

      The system will respond with

      ETPAABB : PSW = 070A0000 003E0000

      The x'003E0000' indicates SAD is waiting for a terminal.


    5. On another 3270 terminal session dial the userid of the system running OS/390 SAD. For example, at the SDTSC VM Logo, issue the D ETPAABB command. This is the same command used to access TSO.

      The system will respond with

      DIALED TO ETPAABB  0E00

    6. Press the enter key to make SAD recognize the terminal.

      The system will respond with

         AMD083I AMDSADMP: STAND-ALONE DUMP INITIALIZED
         AMD001A SPECIFY OUTPUT DEVICE ADDRESS (1)
              

    7. Respond with the address where the stand alone dump should be written, d3f. The line on the screen will look like this:
         AMD001A SPECIFY OUTPUT DEVICE ADDRESS (1)      d3f
              

      The system will respond with

         AMD002A DUMP DATA SET=
              

    8. Respond with the data set name where the stand alone dump should be written, mvs1.sadmp. The line on the scree will look like this:
         AMD002A DUMP DATA SET=  mvs1.sadmp
              

      The system will respond with

         AMD101I OUTPUT DEVICE: 0D3F VPSADA MVS1.SADMP
                 SENSE ID DATA: FF 3990 EC 3390 0A  BLOCKSIZE: 24,960
         AMD011A TITLE=
              

    9. Respond with the title to assign to the stand alone dump. The line on the screen will look like this:
         AMD011A TITLE= Standalone Dump for error
              

      The system will respond with the following messages which indicate the dump is in progress. Be patient, the dump might take several minites to complete.

         AMD005I DUMPING OF REAL STORAGE NOW IN PROGRESS.
         AMD005I DUMPING OF REAL STORAGE COMPLETED (MINIMAL).
         AMD005I DUMPING OF REAL STORAGE COMPLETED (SUMMARY).
         AMD005I DUMPING OF REAL STORAGE COMPLETED (IN-USE).
         AMD095I    REAL DUMP  97% COMPLETED.  TOTAL MEGABYTES DUMPED:  81
         AMD005I DUMPING OF REAL STORAGE COMPLETED.
         AMD108I DUMPING OF SUMMARY    ADDRESS SPACES COMPLETED.
         AMD108I DUMPING OF SWAPPED IN ADDRESS SPACES COMPLETED.
         AMD056I DUMPING OF VIRTUAL STORAGE COMPLETED.
         AMD104I       DEVICE VOLUME USED   DATA SET NAME
                 1      0D3F  VPSADA  12%   MVS1.SADMP
              

    10. On the VM control userid watch for the following message which indicates the stand alone dump is complete.
         ETPAABB : HCPGIR450W CP entered; disabled wait PSW 000A0000 00410000
              

    11. The dump is complete. Log the userid running OS/390 SAD off the VM system with the following command.
      send etpaabb \cp logoff


  6. The Stand Alone Dump is complete. In this example, the dump resides in MVS data set MVS1.SADMP on volume VPSADA. Proceed with other work like restarting OS/390 using the SVXLOG command.

If you have any feedback or questions, please respond to: sdohelp@svscvm1.vnet.ibm.com