Hi,
I am trying to do a Multi-load and the table is defined as follows:
CREATE SET TABLE addr ,NO FALLBACK ,
NO BEFORE JOURNAL,
NO AFTER JOURNAL
(
ADDR_ID VARCHAR(22) CHARACTER SET LATIN NOT CASESPECIFIC NOT NULL,
ADDR_SYS_SRC_ID SMALLINT NOT NULL,
ADDR_USG_TYP SMALLINT NOT NULL,
SUBCNTRY_NM_EN VARCHAR(80) CHARACTER SET LATIN NOT CASESPECIFIC NOT NULL,
ADDR_LIN_1 VARCHAR(100) CHARACTER SET LATIN NOT CASESPECIFIC,
ADDR_LIN_2 VARCHAR(100) CHARACTER SET LATIN NOT CASESPECIFIC,
ADDR_LIN_3 VARCHAR(100) CHARACTER SET LATIN NOT CASESPECIFIC,
ADDR_LIN_4 VARCHAR(100) CHARACTER SET LATIN NOT CASESPECIFIC,
CTY_TWN_NM VARCHAR(30) CHARACTER SET LATIN NOT CASESPECIFIC,
PSTL_ZIP_CD VARCHAR(13) CHARACTER SET LATIN NOT CASESPECIFIC,
CNTRY_CD_ALPHA2 CHAR(2) CHARACTER SET LATIN NOT CASESPECIFIC,
SUCNTRY_CD CHAR(2) CHARACTER SET LATIN NOT CASESPECIFIC,
CAPTR_DT DATE FORMAT 'YYYY-MM-DD' NOT NULL,
CHG_DT DATE FORMAT 'YYYY-MM-DD')
PRIMARY INDEX ( ADDR_ID ,ADDR_SYS_SRC_ID )
PARTITION BY RANGE_N(CAPTR_DT BETWEEN
DATE '2003-11-30' AND DATE '2005-11-30' EACH INTERVAL '1' MONTH );
I do a update first in Multi-load as follows:
UPDATE ADDR
SET SUCNTRY_CD = 'CA'
WHERE ADDR_ID = :IN_CLIENT_NUMBER
AND ADDR_SYS_SRC_ID = :IN_SYS_SOU_NUMBER
AND CHG_DT IS NULL
AND CAPTR_DT > '2003-10-31'
AND CAPTR_DT < '2005-11-30'
;
While doing update above, I get the following error message:
UTY0805 RDBMS failure, 3538: A MultiLoad UPDATE Statement is Invalid.
Can somebody help me ASAP?
Thanks,
Paul
I am trying to do a Multi-load and the table is defined as follows:
CREATE SET TABLE addr ,NO FALLBACK ,
NO BEFORE JOURNAL,
NO AFTER JOURNAL
(
ADDR_ID VARCHAR(22) CHARACTER SET LATIN NOT CASESPECIFIC NOT NULL,
ADDR_SYS_SRC_ID SMALLINT NOT NULL,
ADDR_USG_TYP SMALLINT NOT NULL,
SUBCNTRY_NM_EN VARCHAR(80) CHARACTER SET LATIN NOT CASESPECIFIC NOT NULL,
ADDR_LIN_1 VARCHAR(100) CHARACTER SET LATIN NOT CASESPECIFIC,
ADDR_LIN_2 VARCHAR(100) CHARACTER SET LATIN NOT CASESPECIFIC,
ADDR_LIN_3 VARCHAR(100) CHARACTER SET LATIN NOT CASESPECIFIC,
ADDR_LIN_4 VARCHAR(100) CHARACTER SET LATIN NOT CASESPECIFIC,
CTY_TWN_NM VARCHAR(30) CHARACTER SET LATIN NOT CASESPECIFIC,
PSTL_ZIP_CD VARCHAR(13) CHARACTER SET LATIN NOT CASESPECIFIC,
CNTRY_CD_ALPHA2 CHAR(2) CHARACTER SET LATIN NOT CASESPECIFIC,
SUCNTRY_CD CHAR(2) CHARACTER SET LATIN NOT CASESPECIFIC,
CAPTR_DT DATE FORMAT 'YYYY-MM-DD' NOT NULL,
CHG_DT DATE FORMAT 'YYYY-MM-DD')
PRIMARY INDEX ( ADDR_ID ,ADDR_SYS_SRC_ID )
PARTITION BY RANGE_N(CAPTR_DT BETWEEN
DATE '2003-11-30' AND DATE '2005-11-30' EACH INTERVAL '1' MONTH );
I do a update first in Multi-load as follows:
UPDATE ADDR
SET SUCNTRY_CD = 'CA'
WHERE ADDR_ID = :IN_CLIENT_NUMBER
AND ADDR_SYS_SRC_ID = :IN_SYS_SOU_NUMBER
AND CHG_DT IS NULL
AND CAPTR_DT > '2003-10-31'
AND CAPTR_DT < '2005-11-30'
;
While doing update above, I get the following error message:
UTY0805 RDBMS failure, 3538: A MultiLoad UPDATE Statement is Invalid.
Can somebody help me ASAP?
Thanks,
Paul