SQL1224 is returned during the execution of an SQL procedure
SQL1224 is returned during the execution of an SQL procedure
https://www.ibm.com/support/pages/sql1224-returned-during-execution-sql-procedure
Question & Answer
Question
The execution of an SQL procedure can fail with error SQL1224 if a LOAD command is executed at the same time.
Answer
PROBLEM
The following message might be logged in the db2diag.log during execution of a SQL procedure.
2007-05-02-11.06.17.513639-300 I2535A1111 LEVEL: Error
PID : 43578 TID : 1 PROC : db2agent (SAMPLE) 0
INSTANCE: db2inst1 NODE : 000 DB : SAMPLE
APPHDL : 0-98 APPID: *N0.db2inst1.070502160554
MESSAGE : Severe TERMINATE err at nest lvl 1, in SQL from rtn<
DB2INST1.SELECTROW:
DATA #1 : Hexdump, 136 bytes
0x0000000110362C48 : 5351 4C43 4120 2020 0000 0088 FFFF FB38 SQLCA .......8
0x0000000110362C58 : 0000 2020 2020 2020 2020 2020 2020 2020 ..<<<<<<<<<<<<<<
0x0000000110362C68 : 2020 2020 2020 2020 2020 2020 2020 2020<<<<<<<<<<<<<<<<<<<<
0x0000000110362C78 : 2020 2020 2020 2020 2020 2020 2020 2020<<<<<<<<<<<<<<<<<<<<
0x0000000110362C88 : 2020 2020 2020 2020 2020 2020 2020 2020<<<<<<<<<<<<<<<<<<<<
0x0000000110362C98 : 2020 2020 2020 2020 5351 4C45 4752 5054 SQLEGRPT
0x0000000110362CA8 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0000000110362CB8 : 0000 0000 0000 0000 2020 2020 2020 2020 ........<<<<<<<<
0x0000000110362CC8 : 2020 2035 3530 3332 55032
CAUSE
The above error indicates that the SQL procedure DB2INST1.SELECTROW failed with SQL1224 because during its execution, a LOAD command using the LOCK WITH FORCE option was issued against the same table that is referenced in the stored procedure. The LOCK WITH FORCE option allows the load command to force off other applications that hold conflicting locks on the target table.
SOLUTION
Execute the SQL stored procedure after the load is complete.
------------------------------------------------------------------------------------------
如果你觉得文章有用,欢迎打赏

SQL1224 is returned during the execution of an SQL procedure的更多相关文章
- JDBC入门学习
Introduction What's JDBC JDBC stands for Java Database Connectivity, which is a standard Java API fo ...
- 1Z0-050
QUESTION 13 View the Exhibit.Examine the following command that is executed for the TRANSPORT table ...
- 非常全面的SQL Server巡检脚本来自sqlskills团队的Glenn Berry 大牛
非常全面的SQL Server巡检脚本来自sqlskills团队的Glenn Berry 大牛 Glenn Berry 大牛会对这个脚本持续更新 -- SQL Server 2012 Diagnost ...
- SQL SERVER中什么情况会导致索引查找变成索引扫描
SQL Server 中什么情况会导致其执行计划从索引查找(Index Seek)变成索引扫描(Index Scan)呢? 下面从几个方面结合上下文具体场景做了下测试.总结.归纳. 1:隐式转换会导致 ...
- HANA SQLScript
数据类型 日期时间类型 DATE(日期) DATE 数据类型由年.月.日信息组成,表示一个日期值. DATA 类型的默认格式为‘YYYY-MM-DD’. YYYY 表示年, MM 表示月而 DD 表示 ...
- GET DIAGNOSTICS Syntax
http://dev.mysql.com/doc/refman/5.7/en/get-diagnostics.html GET [CURRENT | STACKED] DIAGNOSTICS { st ...
- How to DEBUG a trigger or procedure
DEBUGGING STORED PROCEDURES Over the past several weeks, we’ve been working on debugging a stored pr ...
- php.ini
[PHP];;;;;;;;;;;;;;;;;;;; About php.ini ;;;;;;;;;;;;;;;;;;;;; PHP's initialization file, generally ...
- PHP配置详解
[PHP] ;;;;;;;;;;;;;;;;;;; ; About php.ini ; ;;;;;;;;;;;;;;;;;;; ; This file controls many aspects of ...
- sql是如何执行一个查询的!
引用自:http://rusanu.com/2013/08/01/understanding-how-sql-server-executes-a-query/ Understanding how SQ ...
随机推荐
- 多个module的verilog文件分割为多个文件
python 分割含有多个module的verilog文件,按照module名来命名文件 import re # 读取 Verilog 文件 with open('test.v', 'r') as f ...
- 【转载】docker swarm集群中部署traefik和其他服务
以下配置来自:https://blog.csdn.net/wave_sheep/article/details/104186192 感谢作者! traefik.yaml version: '3' se ...
- mysql版本升级 5.7.21-8.0.30
当前MySQL版本为:5.7.21 升级前准备,了解5.7和8.0版本有何区别,本文主要为升级操作文档,具体建议参考官方文档,概括性的有以下几点: >默认字符集由latin1变为utf8mb4 ...
- pwn基础
pwn常用工具 1.IDA 是一个世界顶级的交互式反汇编工具,主要用来静态分析. 使用F5即可将汇编反编译成易于阅读的伪代码:空格键:文本,图形和反汇编窗口的切换:ESC:退到上一个操作地址:F7:单 ...
- switch和if
#include<stdio.h> int main() { char ch1='A'; char ch2='B'; switch(ch1) { case'A': switch(ch2) ...
- nodejs web学习
命令行 和python一样,出奇的简单 npm i serve -g serve -s softwares 如果当前目录,就直接 serve express /** * 服务器代码 * 启动方式: * ...
- 新发现的几个不错的c++库
1.coost 包含了各种常用的库,比boost轻量级的基于c++11的库 https://github.com/idealvin/coost 2.ImGui 一个较少依赖的gui界面库 https: ...
- Javaweb 登陆与验证码
本次记录分角色登陆以及验证码的Servlet. 1.登陆验证 <html><%-- Created by IntelliJ IDEA. User: jiachenglin Date: ...
- 自定义Lock实现
1 package com.wyt.lock.test; 2 3 import java.util.concurrent.LinkedBlockingQueue; 4 import java.util ...
- jmeter组件
1.进程:一个正在执行的程序就对应一个进程 线程:进程中的执行线索(一个进程有多个执行线索) 线程组:按照线程性质对线程进行分组 2.并发执行:多个线程同时执行 特点:执行结束的顺序和线程的启动顺序不 ...