Upgrade Guide for DB2 UDB for z/OS > Upgrading a Database from the Mainframe > Preparing the z/OS Host Environment >

Setting Up the Upgrade Environment on the z/OS Host


Once the files transferred from the midtier have been defined and allocated, you must receive the files (uncompress the files), set up the z/OS system environment and unpack the staging data sets into PDS format and create JCL members.

Perform the following steps to set up the upgrade environment on the z/OS host.

To set up the upgrade environment on the z/OS host

  1. Enter the following command:

    TSO SBLUPG78

    The Siebel Upgrade 7.8 Main Menu appears. The panel ID is SBLUPG7P. You can find the panel ID in the bottom right corner of the screen.

    TIP:   To access Help on any screen, press PF1. To exit Help and return to the prior screen, press PF3.

  2. On the Siebel Upgrade Main Menu, select option 0: RECEIVE - LOAD LIBRARY AND STORED PROCEDURE XMIT FILES.
  3. Submit the displayed job.

    NOTE:  The displayed job depends on your language and upgrade path.

  4. After submitting the job, enter cancel on the command line or press PF3 to save changes.

    This job receives XMIT format files. Three PDS datasets are allocated and populated with members. The three PDS dataset names are:

    • DSNHLQ.SIEBEL.LOAD
    • DSNHLQ.SIEBEL.SP.SPDDL
    • DSNHLQ.SIEBEL.SP.DBRMLIB
  5. Verify that the job ran successfully.
    1. Review the output in SDSF or another job output facility. Verify that the RC=0 and that the JCLTEST return code=FLUSH. If you do not see the FLUSH return code, you can verify the condition codes by searching for the condition code IEF206I.
    2. Review the output to verify that all three datasets (and members) were received properly. You will get a message for each member successfully received for each of the three datasets.

      From this point on, all jobs contain one of the following JCL INCLUDE members to check job step return codes. If condition codes are not met, the job abends (ends abnormally) with User 99. Acceptable return codes for each step of each job is controlled by the following three JCL test condition checks:

    • JCLTEST requires RC<=4
    • JCLTEST0 requires that RC=0
    • JCLTEST8 requires that RC<=8

      NOTE:  You must fix any failed jobs before proceeding with the upgrade. For information on restarting failed jobs, see Restarting Failed Jobs on the Mainframe.

  6. On the Siebel Upgrade 7.8 Main Menu, select option 1: SETUP - ENVIRONMENT AND DATASET SETUP.

    The Environment/Dataset menu appears. The panel ID is SBLUTLP.

  7. On the Environment/Dataset menu, select option 0: SET SYSTEM ENVIRONMENT VARIABLES.

    The System Variables Definitions screen appears. The panel ID is SBLSETVP.

  8. On the System Variables menu (Option 0), enter the following information and then press Enter:
    • DSN high level qualifier name. The DSN high level qualifier name is displayed automatically.

      NOTE:  If the DSNHLQ specified in Step 2 (job0) is greater than 18 characters, you must rerun job0 using a DSNHLQ less than or equal to 18 characters.

    • Item A. The HOST/LPAR name is displayed automatically.
    • Item B. Enter the DB2 WLM name, for example, DB27WLM.
    • Item C. Enter the DB2 CCSID (encoding) type:
      • A = ASCII
      • E = EBCDIC

        The DB2 CCSID variable is used to modify the bind jobs which are stored in DSNHLQ.SIEBEL.SP.CNTL and the WLM parameter is updated in this dataset.

    • Item D. The DB2 SUBSYS for source and target subsystems appears automatically.
    • Item E. Enter the DB2 load libraries for the source and target subsystems. (These are the libraries where the DSN, DSNTEP2, and DSNTIAUL programs are located.)

      NOTE:  The libraries you enter must exist (that is, they must be cataloged).

  9. Press Enter.

    Messages appear indicating that the DSNHLQ and DB2 load library information was written to individual PDS members in the DSNHLQ.SIEBEL.JCLLIB library.

  10. Press Enter when you see the message: ...PRESS ENTER TO CONTINUE...

    Press Enter again and the JOBNAME PREFIX/PARM DEFINITIONS panel appears. The panel ID is SBLJPFXP.

  11. You must enter a three-character job name prefix for all upgrade job types for items 1 through 17.

    The three-character prefix should be unique— this makes it easier to find your jobs in the queue— but it is only required for the non-unique index and obsolete index job prefixes (which cannot be the same). The remaining five characters of the job name (which do not appear and cannot be modified) are defined by Siebel Systems and are unique across all upgrade jobs.

  12. You can change the NOTIFY value from &SYSUID to your TSO ID or leave it as &SYSUID.

    NOTE:  If you want to remove the notify parameter from the job card, replace the symbolic parameter &sysuid with spaces.

  13. Review the job card parameters and make any necessary changes.

    Verify that you are using the correct accounting, job class, and message class.

  14. To cancel panel SBLJPFXP and return to the Environment/Dataset menu, press PF3.
  15. Press Enter after entering the job name prefix and parameter definitions.

    The JCL template files are updated. Messages indicate that the DB2 WLM was set and that all references to SIEBELQ1 (midtier parameter in JCL template files) were replaced by the DSNHLQ that you specified in Step 2.

    The final message indicates that upgrade system environment variables have been set.

  16. Press Enter to return to the Environment/Dataset menu.
  17. On the Environment/Dataset menu, select option 1: CREATE UPGRADE JCL LIBRARY (VSTG00nn).

    You are in edit mode for dataset DSNHLQ.SIEBEL.VSTG00nn.

    NOTE:  If you want to change the job card, do so at this time.

  18. Run the job using the JCL in dataset DSNHLQ.SIEBEL.VSTG00nn.
  19. Verify that the job ran successfully.
    1. Review the output in SDSF or another job output facility. Verify that the RC=0 and that the JCLTEST return code=FLUSH. If you do not see the FLUSH return code, you can verify the condition codes by searching for the condition code IEF206I.
    2. Verify that this job allocated and populated dataset DSNHLQ.SIEBEL.INSTALL.JCL.
  20. After submitting the job, enter cancel on the command line or press PF3 to save changes.
  21. On the Environment/Dataset menu, select option 2: ALLOCATE PDS DATASETS (CREATEDS).
  22. Run the job using the JCL in dataset DSNHLQ.SIEBEL.INSTALL.JCL(CREATEDS).
  23. Verify that the job ran successfully.
    1. Review the output in SDSF or another job output facility. Verify that the RC=0 and that the JCLTEST return code=FLUSH. If you do not see the FLUSH return code, you can verify the condition codes by searching for the condition code IEF206I.
    2. Verify that this job allocated datasets.
  24. After submitting the job, enter cancel on the command line or press PF3 to save changes.
  25. On the Environment/Dataset menu, select option 3: BUILD/POPULATE PDS DATASETS(UNPACK01).
  26. Run the job using the JCL in dataset DSNHLQ.SIEBEL.INSTALL.JCL(UNPACK01).
  27. Verify that the job ran successfully.
    1. Review the output in SDSF or another job output facility. Verify that the RC=0. A RC=4 is acceptable if the dataset is empty.
    2. Verify that the JCLTEST return code is FLUSH. If you do not see the FLUSH return code, you can verify the condition codes by searching for the condition code IEF206I.
    3. Verify that this job populates (unpacks) all PDS members into corresponding PDS datasets and sequential files. It is acceptable to have some empty datasets.

      NOTE:  PDS datasets are populated using IEBUPDTE; sequential files are populated using IEBGENER.

  28. Press PF3 to return to the Siebel Upgrade Main Menu.
Upgrade Guide for DB2 UDB for z/OS