-BMCL (BMC LOADPLUS utility)


The -BMCL command invokes the LOADPLUS utility.

This program runs as a subtask. The -BMCL command can be processed in parallel. For more information about the worklist parallelism feature of the BMC Database Administration for DB2 and BMC AMI Database Administration for Db2 solutions, see Using-worklist-parallelism.

You can run the LOADPLUS utility to perform the following functions:

  • Use fast load
  • Use multiple work data sets
  • Register image copies
  • Create partition-level image copies
  • Use multitasking
  • Migrate tables with ROWID columns
  • Load data in XML and LOB columns
  • Delete dynamically allocated discard data sets
  • Migrate only data

Use of -BMCL to perform a fast load

If you specify to use the UNLOAD PLUS and LOADPLUS utilities, the utilities can quickly unload data from one table and load it into another table that has a similar structure.

The FORMAT BMCUNLOAD parameter specifies to move the data.

Example of -BMCL command—FORMAT BMCUNLOAD

-BMCL 003950
              LOAD DATA  REPLACE
              INDDN SYSR1001
              ERRDDN SYSER001
              DISCARDS 0
              DISCARDDN SYSD1001
              DELETEFILES NO
              IDENTITYOVERRIDE YES UPDATEMAXA YES
              FORMAT BMCUNLOAD
              WORKDDN SYSUT001
              LOADDN SORT0001
              REDEFINE NO
              UNIQUEINTO YES
              INTO TABLE ACMU102.T_U20NV
              WHEN TABLE = 1

Important

The fast load feature requires the CCSID definition of the table space to match the default CCSID definition of the subsystem that is specified in the DSNHDECP load module. If the definitions do not match, the product does not use the feature to unload and load data.

Use of -BMCL with multiple work data sets

You can specify to use multiple SYSUT temporary work data sets to enable LOADPLUS to build nonclustering indexes for a table concurrently.

If the number of indexes in a table is equivalent to or less than the maximum number of SYSUT data sets, ALTER and BMC AMI Change Manager for Db2 create one SYSUT data set for each nonclustering index. When you specify to use multiple SYSUT temporary work data sets, SUT is used as the prefix for the WORKDDN parameter in the -BMCL command (see the following figure for an example of a table that is stored in a single-table table space). In addition, the -JCLP command precedes the -BMCL command in the worklist and indicates the number of SYSUT data sets that are generated in the JCL.

Example of -BMCL command—multiple SYSUT data sets

-JCLP 002250 BMCL NUMIX   2
-BMCL 002300
             LOAD DATA  REPLACE
             INDDN SYSR1001
             ERRDDN SYSER001
             DISCARDS 0
             DISCARDDN SYSD1001
             DELETEFILES NO
             IDENTITYOVERRIDE YES UPDATEMAXA YES
             WORKDDN (SUT)
             LOADDN SORT0001
             REDEFINE NO
             UNIQUEINTO YES
             INTO TABLE C7UTC1C.TB13A
            (COLUMN_1          POSITION(*) INTEGER,
             COLUMN_2          POSITION(*) CHAR(12),
             COLUMN_3          POSITION(*) SMALLINT,
             COLUMN_4          POSITION(*) CHAR(7),
             COLUMN_5          POSITION(*) DECIMAL(11,2),
             COLUMN_6          POSITION(*) DATE EXTERNAL)

One SYSUT data set is used when the table contains only one index or when the number of nonclustering indexes for a table exceeds the number of work data sets that you specified as the maximum. SYSUT001 is used for the WORKDDN parameter in the -BMCL command, as shown below. The table in this example is stored in a multi-table table space.

Example of -BMCL command—single SYSUT data set

-BMCL 002850
             LOAD DATA  RESUME YES
             INDDN SYSR1003
             ERRDDN SYSER001
             DISCARDS 0
             DISCARDDN SYSD1003
             DELETEFILES NO
             IDENTITYOVERRIDE YES UPDATEMAXA YES
             WORKDDN SYSUT001
             LOADDN SORT0001
             UNIQUEINTO YES
             INTO TABLE C7UTC1C.TB14A
            (COLUMN_1          POSITION(*) INTEGER,
             COLUMN_2          POSITION(*) CHAR(12),
             COLUMN_3          POSITION(*) SMALLINT,
             COLUMN_4          POSITION(*) CHAR(7),
             COLUMN_5          POSITION(*) DECIMAL,
             COLUMN_6          POSITION(*) DATE EXTERNAL)

Use of -BMCL to register image copies

If any of the four image copies (primary and backup copies for the local and remote sites) are registered, Analysis inserts the REGISTER DDName parameter.

The following example shows an example of the -BMCL worklist command with the REGISTER parameter. If none of the image copies are registered, Analysis inserts the REGISTER NONE parameter.

Example of -BMCL command—REGISTER parameter

-BMCL 001350
             LOAD DATA  REPLACE
             INDDN SYSR1001
             ERRDDN SYSER001
             DISCARDS 0
             DISCARDDN SYSD1001
             DELETEFILES NO
             IDENTITYOVERRIDE YES UPDATEMAXA YES
             WORKDDN SYSUT001
             LOADDN SORT0001
             REDEFINE NO
             UNIQUEINTO YES
             COPY YES
                    REGISTER SYCL0001,SYCR0001
                    COPYDDN (SYCL0001,SYCR0001)
             INTO TABLE ACMX01E.T_X01PS
            (COLUMN_NEW           POSITION(*) INTEGER,
             COLUMN_2             POSITION(*) SMALLINT,
             COLUMN_3             POSITION(*) CHAR(12),
             COLUMN_4             POSITION(*) CHAR(7),
             COLUMN_5             POSITION(*) CHAR(4))

Use of -BMCL to create partition-level image copies

Analysis can generate parameters for a partition-level image copy of a partitioned table space or index in a database when you select to use LOADPLUS as the load utility.

The example below shows a  -BMCL command that is used when partition-level image copies are requested for a table space that has five partitions.

 -BMCL command—partition-level image copies

-SPAC 003150 DDNAME C001 BMCL TS C7PCA1.TS35P5
-JCLP 003200 BMCL IPPARTS 5
-JCLP 003250 BMCL NUMPARTS 5
-BMCL 003300
             LOAD DATA  REPLACE
             INDDN R1003
             ERRDDN SYSER001
             DISCARDS 0
             DISCARDDN SYSD1003
             DELETEFILES NO
             IDENTITYOVERRIDE YES UPDATEMAXA YES
             WORKDDN SYSUT001
             LOADDN SORTP
             REDEFINE NO
             UNIQUEINTO YES
             COPY YES
                    REGISTER C001
                    COPYDDN (C001)
             INTO TABLE C7PCJ1C.TB35A
            (COLUMN_1    POSITION(*) INTEGER,
             COLUMN_3    POSITION(*) SMALLINT,
             COLUMN_2    POSITION(*) CHAR(12),
             COLUMN_5    POSITION(*) DECIMAL(11,2),
             COLUMN_4    POSITION(*) CHAR(7),
             COLUMN_6    POSITION(*) DATE EXTERNAL)

Use of -BMCL to perform multitasking

The LOADPLUS utility can be used with the UNLOAD PLUS utility to multitask the unloading and loading of data.

When you unload and load data in partitioned table spaces that contain more partitions than the value of the MAXSYSREC keyword, the product requires multitasking. The product uses the value of the MAXSYSREC keyword in the ALUIN input stream to determine the number of dynamically allocated data sets to use in a single -BMCL command. The default value of the MAXSYSREC keyword is 256. The first -BMCL command contains the LOAD REPLACE parameter; the remaining -BMCL commands contain the LOAD RESUME YES parameter and the REPLACE parameter for each partition.

The LOAD statement in the -BMCL command will contain the ORDER YES parameter if the following conditions exist:

  • The utility is multitasking the loading of data.
  • The table space contains compressed partitions.
  • The value of the MAXSYSREC keyword is less than the number of partitions in the table space or a value is not specified for MAXSYSREC.

The following example shows a -BMCL command for loading a table space that contains 540 partitions. The IPPARTS parameter in the -JCLP command specifies the number of partitions for each -BMCL command.

-JCLP 001600 BMCL IPPARTS 256
-BMCL 001700
             LOAD DATA  REPLACE
 INDSN('RDABKH1.DEBF.BH0514A.SR000001.P001'
 ,'RDABKH1.DEBF.BH0514A.SR000001.P002'
 ,'RDABKH1.DEBF.BH0514A.SR000001.P003'
 ,'RDABKH1.DEBF.BH0514A.SR000001.P004'
 ,'RDABKH1.DEBF.BH0514A.SR000001.P005'
 ...
 ,'RDABKH1.DEBF.BH0514A.SR000001.P256'
 )
             ERRDDN SYSER001
             DISCARDS 0
             ENUMROWS AUTO
             DDTYPE DISCARD
             ACTIVE YES
             IFALLOC FREE
             DELETEFILES NO SYSDISC YES
             IDENTITYOVERRIDE YES UPDATEMAXA YES
             UNIT SYSDA
             DSNPAT 'RDABKH1.BH0514A.B91S128A.TS11A.SD000001'
             ORDER YES
             EBCDIC CCSID(37,0,0)
             WORKDDN (SUT)
             LOADDN SORTP
             REDEFINE NO
             UNIQUEINTO YES
             INTO TABLE B91S128A.TB11A
                    PART       1:256
 (
 COLIN_1
    POSITION(*) INTEGER,
 COLSI_2
    POSITION(*) SMALLINT,
 COLCH_3
    POSITION(*) CHAR(12),
 COLCH_4
    POSITION(*) CHAR(7),
 COLCH_5
    POSITION(*) CHAR(4),
 COLVC_6
    POSITION(*) VARCHAR,
 COLTS_7
    POSITION(*) TIMESTAMP EXTERNAL,
 COLDT_8
    POSITION(*) DATE EXTERNAL,
 COLIN_9
    POSITION(*) INTEGER
                                  NULLIF NULL001='?',
             NULL001             POSITION(*) CHAR(1),
 COLDC_10
    POSITION(*) DECIMAL(9,2)
                                  NULLIF NULL002='?',
             NULL002             POSITION(*) CHAR(1),
 COLDC_11
    POSITION(*) DECIMAL(6,3)
                                  NULLIF NULL003='?',
             NULL003             POSITION(*) CHAR(1))

-JCLP 001800 BMCL IPPARTS 256
-BMCL 001900
             LOAD DATA  RESUME YES
 INDSN('RDABKH1.DEBF.BH0514A.SR000001.P257'
 ,'RDABKH1.DEBF.BH0514A.SR000001.P258'
 ,'RDABKH1.DEBF.BH0514A.SR000001.P259'
 ,'RDABKH1.DEBF.BH0514A.SR000001.P260'
 ,'RDABKH1.DEBF.BH0514A.SR000001.P261'
 ...
 ,'RDABKH1.DEBF.BH0514A.SR000001.P512'
 )
             ERRDDN SYSER001
             DISCARDS 0
             ENUMROWS AUTO
             DDTYPE DISCARD
             ACTIVE YES
             IFALLOC FREE
             DELETEFILES NO SYSDISC YES
             IDENTITYOVERRIDE YES UPDATEMAXA YES
             UNIT SYSDA
             DSNPAT 'RDABKH1.BH0514A.B91S128A.TS11A.SD000002'
             ORDER YES
             EBCDIC CCSID(37,0,0)
             WORKDDN (SUT)
             LOADDN SORTP
             UNIQUEINTO YES
             INTO TABLE B91S128A.TB11A
                    PART       257:512
                    REPLACE
 (
 COLIN_1
    POSITION(*) INTEGER,
 COLSI_2
    POSITION(*) SMALLINT,
 COLCH_3
    POSITION(*) CHAR(12),
 COLCH_4
    POSITION(*) CHAR(7),
 COLCH_5
    POSITION(*) CHAR(4),
 COLVC_6
    POSITION(*) VARCHAR,
 COLTS_7
    POSITION(*) TIMESTAMP EXTERNAL,
 COLDT_8
    POSITION(*) DATE EXTERNAL,
 COLIN_9
    POSITION(*) INTEGER
                                  NULLIF NULL001='?',
             NULL001             POSITION(*) CHAR(1),
 COLDC_10
    POSITION(*) DECIMAL(9,2)
                                  NULLIF NULL002='?',
             NULL002             POSITION(*) CHAR(1),
 COLDC_11
    POSITION(*) DECIMAL(6,3)
                                  NULLIF NULL003='?',
             NULL003             POSITION(*) CHAR(1))

-JCLP 002000 BMCL IPPARTS 28
-BMCL 002100
             LOAD DATA  RESUME YES
 INDSN('RDABKH1.DEBF.BH0514A.SR000001.P513'
 ,'RDABKH1.DEBF.BH0514A.SR000001.P514'
 ,'RDABKH1.DEBF.BH0514A.SR000001.P515'
 ,'RDABKH1.DEBF.BH0514A.SR000001.P516'
 ,'RDABKH1.DEBF.BH0514A.SR000001.P517'
...
 ,'RDABKH1.DEBF.BH0514A.SR000001.P540'
 )
             ERRDDN SYSER001
             DISCARDS 0
             ENUMROWS AUTO
             DDTYPE DISCARD
             ACTIVE YES
             IFALLOC FREE
             DELETEFILES NO SYSDISC YES
             IDENTITYOVERRIDE YES UPDATEMAXA YES
             UNIT SYSDA
             DSNPAT 'RDABKH1.BH0514A.B91S128A.TS11A.SD000003'
             ORDER YES
             EBCDIC CCSID(37,0,0)
             WORKDDN (SUT)
             LOADDN SORTP
             UNIQUEINTO YES
             INTO TABLE B91S128A.TB11A
                    PART       513:540
                    REPLACE
 (
 COLIN_1
    POSITION(*) INTEGER,
 COLSI_2
    POSITION(*) SMALLINT,
 COLCH_3
    POSITION(*) CHAR(12),
 COLCH_4
    POSITION(*) CHAR(7),
 COLCH_5
    POSITION(*) CHAR(4),
 COLVC_6
    POSITION(*) VARCHAR,
 COLTS_7
    POSITION(*) TIMESTAMP EXTERNAL,
 COLDT_8
    POSITION(*) DATE EXTERNAL,
 COLIN_9
    POSITION(*) INTEGER
                                  NULLIF NULL001='?',
             NULL001             POSITION(*) CHAR(1),
 COLDC_10
    POSITION(*) DECIMAL(9,2)
                                  NULLIF NULL002='?',
             NULL002             POSITION(*) CHAR(1),
 COLDC_11
    POSITION(*) DECIMAL(6,3)
                                  NULLIF NULL003='?',
             NULL003             POSITION(*) CHAR(1))

Use of -BMCL to migrate tables with ROWID columns

You can modify or migrate tables that contain ROWID columns with data.

If the ROWID column is defined as GENERATED ALWAYS, ALTER and Change Manager omit the ROWID column in the UNLOAD and LOAD statements. If the ROWID column is defined as GENERATED BY DEFAULT, ALTER and Change Manager include the ROWID column in the UNLOAD and LOAD statements. The column is unloaded last in the sequence of columns and is also loaded last, even though it might not be the last column in the table. When a table that contains a ROWID column is unloaded, Analysis lists all of the columns that are unloaded in the UNLOAD statement in the worklist.

Use of -BMCL to load data in XML and LOB columns

When you use the LOADPLUS utility to unload data contained in XML or LOB columns, the utility loads the data from a file reference input data set that contains the data.

When the -BMCL command contains the LOAD DATA REPLACE parameter, Analysis adds the PRELOAD LOAD parameter. If the -BMCL command contains the LOAD DATA RESUME YES parameter and the number of discards is greater than zero, Analysis adds the PRELOAD CONTINUE parameter. 

Example of-BMCL command—loading XML data

-BMCL 001300                               
             LOAD DATA  REPLACE            
 INDSN('RDACRJ.XML.SYSREC.SR000001')       
             ERRDDN SYSER001               
             PRELOAD LOAD                  
             DISCARDS 1                    
             DISCARDDN SYSDS001            
             DELETEFILES NO                
             EBCDIC CCSID(37,0,0)          
             WORKDDN (SUT)                 
             LOADDN SORT0001               
             ENFORCE NO                    
             UNIQUEINTO YES                
             INTO TABLE C9AXM1.TBMMS03A    
 (                                         
  TABKEY                                   
    POSITION(*) INTEGER,                   
  CHAR5                                    
    POSITION(*) CHAR(5)                    
             NULL001             POSITION(*) CHAR(1),    
  CHAR10                                                 
    POSITION(*) CHAR(10)                                 
                                  NULLIF NULL002='?',    
             NULL002             POSITION(*) CHAR(1),    
  DEC15                                                  
    POSITION(*) DECIMAL(15,0)                            
                                  NULLIF NULL003='?',    
             NULL003             POSITION(*) CHAR(1),    
  DEC15_3                                                
    POSITION(*) DECIMAL(15,3)                            
                                  NULLIF NULL004='?',    
             NULL004             POSITION(*) CHAR(1),    
  VAR_CHAR15                                             
    POSITION(*) VARCHAR                                  
                                  NULLIF NULL005='?',    
             NULL005             POSITION(*) CHAR(1),    
  XMLCOL1                                                
    POSITION(*) VARCHAR CLOBF                            
                                  NULLIF NULL006='?',    
            NULL006             POSITION(*) CHAR(1),     
  XMLCOL2                                                 
    POSITION(*) VARCHAR CLOBF,                            
  TIMESTAMP                                               
    POSITION(*) TIMESTAMP EXTERNAL)

Use of -BMCL to delete dynamically allocated discard data sets

When you specify to use the UNLOAD PLUS and LOADPLUS utilities and to dynamically allocate unload data sets, the LOADPLUS utility also dynamically allocates a discard data set for each LOAD statement, if needed.

The LOADPLUS utility does not delete the discard data set automatically, even if the data set is empty. The Analysis component adds the SYSDISC YES option to the DELETEFILES NO parameter in the -BMCL worklist command, as shown in the following example. The SYSDISC YES option instructs LOADPLUS to delete the discard data set if the data set is empty.

-BMCL 004050
             LOAD DATA  REPLACE
 INDSN('RDACRJ.LOBDATA.SR000001')
             ERRDDN SYSER001
             DISCARDS 0
             ENUMROWS (0,0,0)
             DDTYPE DISCARD
             ACTIVE YES
             IFALLOC FREE
             DELETEFILES NO SYSDISC YES
             IDENTITYOVERRIDE YES UPDATEMAXA YES
             UNIT SYSDA
             DSNPAT 'RDACRJ.LOBDATA.SD000001'
             WORKDDN SYSUT001
             LOADDN SORT0001
             REDEFINE NO
             UNIQUEINTO YES
             INTO TABLE RDACRJ.TEMO

ALTER and Change Manager perform the actions cited below if you do one of the following:

  • You do not specify to dynamically allocate the unload (SYSREC) data set in the Analysis override options
  • You specify to dynamically allocate the unload (SYSREC) data set and you manually add the DISCARDS 1 keyword to the ALUIN input stream (or you specify DISCARDS=(1,R), in the installation options)

The resulting actions are as follows:

  • When generating the worklist, the Analysis component omits the SYSDISC YES option in the DELETEFILES NO parameter in the -BMCL worklist command.
  • If DISCARDS is set to 1, the JCL Generation component allocates the discard data set in the JCL that it generates for the worklist.
  • When the Execution component runs the worklist, the LOADPLUS utility does not delete the discard data set.

Use of -BMCL to migrate only data with FORCELOADREPLACE

When you specify the FORCELOADREPLACE keyword in the ALUIN input stream, Analysis generates one of a few forms of the LOAD DATA syntax.

Analysis generates the following forms of the syntax:

  • LOAD DATA RESUME YES INTO TABLE

    Analysis uses this syntax when you are migrating only data from a single table at the table level of a segmented table space. Analysis does not assume that the structures on the sending and receiving subsystems are identical. The load utility deletes the existing data in the table before loading.

    Example of -BMCL command—LOAD DATA RESUME YES INTO TABLE

    -SQL  000850 DELETE FROM J1ALLN1.T_T02SSEG
    -SYNC 000900 END OF SQL DELETE FROM TABLES SECTION
    ********************************************************************
    -JCLP 000950 BMCL NUMIX   2
    -BMCL 001000
                 LOAD DATA  RESUME YES
     INDSN('RDAJZB4.DEGA.J120824G.SR000001')
                 ERRDDN SYSER001
                 PRELOAD CONTINUE
                 DISCARDS 1
                 DISCARDDN SYSDS001
                 DELETEFILES NO
                 ORDER YES
                 EBCDIC CCSID(37,0,0)
                 WORKDDN (SUT)
                 LOADDN SORT0001
                 ENFORCE NO
                 UNIQUEINTO YES
                 INTO TABLE J1ALLN1.T_T02SSEG
     (
      COLIN_1
        POSITION(*) INTEGER,
      COLSI_2
        POSITION(*) SMALLINT,
      COLCH_3
        POSITION(*) CHAR(20),
      COLBI_4
        POSITION(*) BINARY(200),
      COLDC_5
        POSITION(*) DECIMAL(31,20),
      COLDC_6
        POSITION(*) DECIMAL(11,2),
      COLFL_7
        POSITION(*) FLOAT(21),
      COLFL_8
        POSITION(*) FLOAT(53),
      COLDT_9
        POSITION(*) DATE EXTERNAL,
      COLTM_10
        POSITION(*) TIME EXTERNAL,
         BMC_SKIPTMSTAMP001   POSITION(*) CHAR(26))
    -SYNC 001050 LOAD TB J1ALLN1.T_T02SSEG COMPLETE
  • LOAD DATA RESUME YES INTO TABLE REPLACE

    Analysis uses this syntax when you are migrating only data from one or more tables at the table space level of a segmented table space. Analysis assumes that the structures on the sending and receiving subsystems are identical, and generates the LOAD statements based on the structure of the receiving subsystem. The load utility replaces the data in the table; an SQL DELETE statement is not needed.

    Example of  -BMCL command—LOAD DATA RESUME YES INTO TABLE REPLACE

    * -SQL DELETE NOT NEEDED - J1DYNR4.T_T02SSEG
    -SYNC 001850 END OF SQL DELETE FROM TABLES SECTION
    ********************************************************************
    -SYNC 001900 LOAD TB J1DYNR4.T_T01ICP COMPLETE
    -JCLP 001950 BMCL NUMIX   2
    -BMCL 002000
                 LOAD DATA  RESUME YES
     INDSN('RDAJZB4.DEGA.J120727D.SR000002')
                 ERRDDN SYSER001
                 PRELOAD CONTINUE
                 DISCARDS 1
                 DISCARDDN SYSDS001
                 DELETEFILES NO
                 ORDER YES
                 FORMAT BMCUNLOAD
                 WORKDDN (SUT)
                 LOADDN SORT0001
                 ENFORCE NO
                 UNIQUEINTO YES
                 INTO TABLE J1DYNR4.T_T02SSEG
                        REPLACE
                 WHEN TABLE = 1
    -SYNC 002050 LOAD TB J1DYNR4.T_T02SSEG COMPLETE
  • LOAD DATA REPLACE INTO TABLE

    Analysis uses this syntax when you are migrating only data from an entire table space at the table space level of a partitioned table space.

    Analysis assumes that the structures on the sending and receiving subsystems are identical, and generates the LOAD statements based on the structure of the receiving subsystem. The load utility replaces the data in the table space.

    Example of  -BMCL command—LOAD DATA REPLACE INTO TABLE

    -JCLP 001900 BMCL NUMIX   2
    -JCLP 001950 BMCL IPPARTS 3
    -BMCL 002000
                 LOAD DATA  REPLACE
     INDSN('RDAJZB4.DEGA.J120727D.SR000001.P001'
     ,'RDAJZB4.DEGA.J120727D.SR000001.P002'
     ,'RDAJZB4.DEGA.J120727D.SR000001.P003'
     )
                 ERRDDN SYSER001
                 DISCARDS 1
                 DISCARDDN SYSDS001
                 DELETEFILES NO
                 ORDER YES
                 FORMAT BMCUNLOAD
                 WORKDDN (SUT)
                 LOADDN SORTP
                 ENFORCE NO
                 REDEFINE NO
                 UNIQUEINTO YES
                 INTO TABLE J1DYNR4.T_T01ICP
                 WHEN TABLE = 1
    -SYNC 002050 LOAD TB J1DYNR4.T_T01ICP COMPLETE

Notes for -BMCL

For some objects, Analysis generates the -BMCL command differently.

Note the following items when the -BMCL command is used in a worklist:

  • The utility command starts on the second line of the statement. The first line is reserved for parameters that are passed to the utility.
  • If a table space is being created in the worklist, Analysis includes the REDEFINE NO parameter in the -BMCL command.
  • When using LOADPLUS in a worklist environment, your work files might not be dynamically allocated automatically, even if you have specified ACTIVE=YES in your utility installation options module.

    If you are operating in a worklist environment, LOADPLUS ignores the value that you specified in the DELFILES utility installation option and always uses DELFILES=NO. To delete your work files, you must edit your worklist and change DELETEFILES NO to DELETEFILES YES in the LOAD command. However, BMC recommends that you do not delete your work files because subsequent steps in the worklist might require the use of the files. Instead, use the JCL Generation Static Data Set Options panel to specify to use a data set cleanup step. (For more information, see Setting-the-JCL-options-for-static-data-sets.)

  • If you specify to collect statistics with other utilities (such as the LOADPLUS utility), and you specify to use the BMCSTATS utility to update statistics, Analysis includes the BMCSTATS YES parameter in the -BMCL command. When the command includes the BMCSTATS YES parameter, generated messages are output to SYSPRINT. The REPORT NO parameter, which suppresses the creation of a report of updated statistics to output to SYSPRINT, is available only when the BMCSTATS utility is run as a stand-alone utility (with the -BMCS command). BMCSTATS does not generate a statistics report when other utilities collect statistics.
  • If you are converting from a DECIMAL column with a scale of 0 to a CHAR or VARCHAR column, Analysis includes the REMOVEDECIMAL parameter on the column in the -BMCL command. The REMOVEDECIMAL parameter instructs LOADPLUS to remove the fractional portion, including the decimal point, of the value that it loads.
  • Unique values that are assigned to rows in an identity column might change when the following conditions exist:

    • You have defined an identity column in your table with GENERATED ALWAYS.
    • The table is dropped and re-created, and the values are reloaded. To have LOADPLUS preserve the existing values in the identity column, simply run Analysis and Execution.

    By default, the ALUIN input stream includes the NOREGENIDENTITY keyword. NOREGENIDENTITY instructs Analysis not to allow Db2 to generate new values for an identity column that is defined as GENERATED ALWAYS if the table is dropped and re-created. In addition, Analysis adds the IDENTITYOVERRIDE YES and UPDATEMAXA YES parameters to the -BMCL (LOADPLUS) worklist command. IDENTITYOVERRIDE YES tells LOADPLUS to load identity column values from the input file. UPDATEMAXA YES tells LOADPLUS to update the MAXASSIGNEDVAL column of SYSIBM.SYSSEQUENCES when loading identity column values from an input file.

For more information about LOADPLUS, see LOADPLUS for DB2 documentation.

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*