今晚登录环境又遇到了Abend AD2R,刚好同事基本下班了,自己可以琢磨琢磨。log如下:

STC00037  ++#AA9999E  ** SCZEXCP-TASK ID   :0011111                          
STC00037  ++#AA9999I  ** SCZEXCP-PGM-ID    :TCOENTR3                         
STC00037  ++#AA9999I  ** SCZEXCP-SYS-DATE  :20161124                         
STC00037  ++#AA9999I  ** SCZEXCP-TIME      :21:49:52                         
STC00037  ++#AA9999I  ** SCZEXCP-TR CODE   :999111                          
STC00037  ++#AA9999I  ** SCZEXCP-ACTION    :                                 
STC00037  ++#AA9999I  ** SCZEXCP-FILE TYPE :OTH                              
STC00037  ++#AA9999I  ** SCZEXCP-FILE ID   :SC6001                           
STC00037  ++#AA9999I  ** SCZEXCP-RET CD/MSG:ABCD=AD2RPGM=ABCTEST1 PSW=      
STC00037  +IBSTRCV8I TASK # 0000052 IN CDCN 11/24/2016 22:10:08_325 Received TIA  455 
           within 0004 MSs, then after 0015 MSs the ACK was sent.            
STC00037  +CBSMSG0E BSC6001E|20150612|22:10:08|001|501020|CICSDCN  456       
           |TCOENTR3|SC6001  |DFHD2EX1|4930   | |ABCD=AD2R PGM=ABCTEST1     
           PSW=                       |

场景:执行一个联机交易999111,柜面显示处理中一直到交易超时,对应程序ABCTEST1仅是write table的处理。

解决方案:万能的度娘

最快处理方法:重建表

表面可能原因:1.表参数有问题或表执行了什么操作。

实际可能原因:1.有交易的挂死了,导致资源被占用,表从系统内核读取存储出现错误。

1). CEMT I TACK,用于查询当前所有线程,每个线程的任务都是相关联的。若任务相关的线程状态为‘S’,则说明在DB2中是活跃的,可能在DB2中允许中。

2).可以退出DFHD2EX1相关的线程即可。

看了下IBM关于DFHD2EX1任务相关问题的描述,整理如下:

一、WAITs issued from the CICS DB2 TRUE

Resource type or Hty value Resource name or Hva value Meaning Purge and forcepurge
DB2 LOT_ECB CICS task is waiting for DB2, that is, waiting for the CICS DB2 task to complete the request. Used when CICS is connected to DB2 Version 5 or earlier. Purge: No. Forcepurge: Yes
CDB2RDYQ name of DB2ENTRY or *POOL CICS task is waiting for a thread to become available. The resource name details for which DB2ENTRY or the pool has a shortage of threads. No
CDB2CONN   The CICS task has an open TCB but is waiting for a DB2 connection to become available to use with the open TCB. This indicates that TCBLIMIT has been reached, and the maximum permitted number of open TCBs (and hence connections) are being used to access DB2. No

二、WAITS issued using WAIT_OLDC dispatcher calls

Resource type or Hty value Resource name or Hva value Meaning Purge and forcepurge
DB2_INIT   CICS DB2 initialization program DFHD2IN1 issues the wait to wait for the CICS initialization task running program DFHD2IN2 to complete. Yes
DB2CDISC name of DB2CONN A SET DB2CONN NOTCONNECTED command has been issued with the WAIT or FORCE option. DFHD2TM waits for the count of tasks using DB2 to reach zero. Yes
DB2EDISA name of DB2ENTRY A SET DB2ENTRY DISABLED command has been issued with the WAIT or FORCE option. DFHD2TM waits for the count of tasks using the DB2ENTRY to reach zero. Yes

三、EXEC CICS WAIT EXTERNAL requests issued by the attachment facility

Resource type or Hty value Resource name or Hva value Meaning Purge and forcepurge
USERWAIT CDB2TIME The CICS DB2 service task program DFHD2EX2 is in its timer wait cycle either waiting for the protected thread purge cycle to pop or to be posted for another event. Yes
USERWAIT DB2START The CICS DB2 service program DFHD2EX2 is waiting for DB2 to post it when it becomes active. Yes

四、EXEC CICS WAIT EVENT requests

Module Resource name Meaning
DFHD2EX2 PROTTERM A TERM call has been issued for a protected thread during the protected thread purge cycle.可惜这直接就重建表了,未关注线程的相关问题.....
DFHD2STR ATCHMSUB The CICS DB2 startup program DFHD2STR has attached the master subtask program DFHD2MSB and is waiting for it to identify to DB2. (Only applies when CICS is connected to DB2 Version 5 or earlier.)
DFHD2STR DTCHMSUB The CICS DB2 startup program is waiting for the master subtask program DFHD2MSB to terminate. (Only applies when CICS is connected to DB2 Version 5 or earlier.)
DFHD2STP MSBRETRN The CICS DB2 shutdown program is waiting for the master subtask program DFHD2MSB to terminate. (Only applies when CICS is connected to DB2 Version 5 or earlier.)
DFHD2STP CEX2TERM The CICS DB2 shutdown program is waiting for the CICS DB2 service task CEX2 running program DFHD2EX2 to terminate all subtasks and terminate itself.

看了下IBM关于结束线程DFHD2EX1的描述,整理如下:

1.每个CICS task之间和DB2之间由很多控制块链接;

2.DFHD2EX1任务的每个线程都运行在DB2CONN和DB2ENTRY的控制中,即每个线程都运行在TCB的线程;

DFHD2EX1会被一下事件调用:

1.EXEC SQL commands and DB2 IFI commands from application programs

2.syncpoint

3.end of task

4.INQUIRE EXITPROGRAM commands for the DB2 TRUE with the CONNECTST or QUALIFIER keywords (RMI SPI calls)

5.EDF - when EDFing EXEC SQL commands

6.CICS shutdown

CICS Abend AD2R相关推荐

  1. Interview QA-COBOL COBOL II

    Q1) Name the divisions in a COBOL program ?. A1) IDENTIFICATION DIVISION, ENVIRONMENT DIVISION, DATA ...

  2. cics oracle xad_Cics安装与配置

    一. 安装 DCE 2.1.2&DCE 2.2 : 分布式计算环境( DCE : Distrubuted Computing Environment )是一组服务,它简化了分布式应 用程序的开 ...

  3. CICS FILE OPEN

    CEMT I CECD V FILE() GROUP() CEDA check error log in JESYSMSG FILE OPEN/CLOSE STATUS CICS ACTION res ...

  4. ogg replicat 进程 abend 处理

    Oracle Goldengate实际使用过程中经常会出现abend的现象,有时ggserr.log提示的信息又让我们摸不着头脑. 2011-11-01 09:14:28  WARNING OGG-0 ...

  5. 大型主机CICS中间件基础

    本文选自<大型主机CICS中间件基础教程>一书 序 言 IBM大型主机遍布全球众多大型企业,广泛应用于银行.证券.保险.电信.航空等行业.时至今日,大型主机在IT界仍扮演着极其重要的角色. ...

  6. 查看cics 运行状态

    查看cics 运行状态 cicscp -v status all  转载于:https://www.cnblogs.com/orchid-sky/p/4217747.html

  7. Db2 insert got DSNISGRT:500A abend

    客户在insert某条数据的时候出了一个DSNISGRT:500A的abend,送来这个abend的dump,通过初步分析,可以看到如下信息 IP VERBX MTRACE B000000 KOE6 ...

  8. 【转】谈谈CICS ENQ,DEQ的使用_REDEMPTION_百度空间

    在CICS中对于需要序列化访问的资源, 比如流水号分配等, 都可以使用ENQ, DEQ来保证顺序化访问, 对于ENQ, DEQ之间的代码, 只有一个TASK能够占有, 当这个TASK通过ENQ 资源, ...

  9. CICS事务网关-CTG原理及操作

    1.1 什么是CTG 1.1.1 概述 CICS系统是IBM大型机上的重要的交易处理系统,并且由于大型机的特殊性,导致CICS的已有应用程序对分布式平台开放不够,难以重用以往的应用程序.因此,CICS ...

最新文章

  1. python中处理日期和时间的标准模块是-关于时间和Python的时间处理模块
  2. 产品创新必备方法论:国外系统的产品创新
  3. [JDBC] 获取数据库连接方式
  4. mtk处理器和骁龙对比_下一代手机处理器谁主沉浮
  5. Linux服务器编程之:truncate()函数+案例说明
  6. 网页元素坐标表示及坐标计算方法
  7. android开发 停止运行程序,开发的时候老是报错 XXXXX程序已停止运行。
  8. 用 Ajax 和 RSS 攒个首页新闻——(上)
  9. -bash: findstr: command not found 问题解决
  10. 图像分割:直方图区域划分及信息统计介绍
  11. 接口配置锦囊妙计之三----端口自协商
  12. 51单片机驱动数码管显示
  13. memory prefix hypo,hecto,hyper out1
  14. 编程题目3——中国大学mooc(这篇博客更新完毕)
  15. SV绿皮书笔记(四)
  16. nginx配置https
  17. php 公众号 欢迎,关注公众号的欢迎语怎么设置?公众号欢迎语怎么加链接?
  18. Nagios nsca插件进程突然死掉
  19. veket linux应用软件,veket linux下载
  20. 做个表白页面需要掌握哪些英语单词?

热门文章

  1. 我今天给学习运维而英语不好的各位,提供一些计算机英语,感谢惨绿少年的原文和已经离开身边提供英标部分的小虾大佬,只是为了记录。...
  2. opencv标定实现总结(圆点,棋盘格和非对称圆点)
  3. 新手劝退!为什么学3D建模建议先3dsmax,而不是Maya
  4. 26张图讲解HTTP,不信你还不会
  5. 微软服务器温度,45℃温差 微软Surface RT温度极限测试
  6. 防雷措施----现代建筑物防雷无须避雷针
  7. 网络安全工程师常用的威胁情报分析平台有哪些?
  8. 通常所说微型计算机的奔3,【计算机应用基础】.doc
  9. 随机数在java 自旋锁的运用_Java 中自旋锁的实现
  10. 乡村少年宫计算机课程,乡村学校少年宫计算机课程安排(5页)-原创力文档