求助:怎样从cics*.traceback文件中获取信息
我的程序每天运行一次,里有循环调用CICS的逻辑。
最近两天CICS都出现问题,循环调CICS时,第一遍调用失败,后面的都能成功。
我查了一下CICS目录下的文件,发现在调CICS失败时/var/cics_regions/REGIONS/dumps/dir1目录下都产生了一个cics*.traceback文件。
但打开traceback文件,内容看不明白,请各位高手指点。
从cics*.traceback文件中能获取什么信息?
怎样从cics*.traceback文件中获取信息?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
以下就是两个应用错误的函数调用堆栈(从下向上看)
---------------------------
process_select_list Offset = 0B20
ypGetData__FPCcP9RecordSetP6Col Offset = 0050
Select__7RsetSQLFP9RecordSetPcN Offset = 00F4
Add_Payment__12PubRytPayAddFv Offset = 00C4
DoAction__12PubRytPayAddFPc Offset = 018C
cics_enter Offset = 0118
main Offset = 002C
--------------------
strcpyFPcPCc Offset = 001C
putAttribute__10AbstractDBFPcT1 Offset = 014C
DoAction__19CpubOptrLgnValidity Offset = 0C80
cics_enter Offset = 0124
main Offset = 002C
我用的是IBM-AIX,下面是cics130032.traceback文件
bash-2.05a$ cat cics130032.traceback
-----------------Stack Traceback--------------------
PID = 130032, TID = 1
22 - Function pthread_kill Offset = 00B0
21 - Function _p_raise Offset = 0054
20 - Function raise Offset = 0030
19 - Function abort Offset = 00B4
18 - Function __assert_c99 Offset = 0298
17 - Function process_select_list Offset = 0B20
16 - Function ypGetData__FPCcP9RecordSetP6Col Offset = 0050
15 - Function Select__7RsetSQLFP9RecordSetPcN Offset = 00F4
14 - Function Add_Payment__12PubRytPayAddFv Offset = 00C4
13 - Function DoAction__12PubRytPayAddFPc Offset = 018C
12 - Function cics_enter Offset = 0118
11 - Function main Offset = 002C
10 - Function PinCA_StartC Offset = 01D0
9 - Function TasPR_CallApplication Offset = 0508
8 - Function TasPR_RunProgram Offset = 14D8
7 - Function TasPR_IRun Offset = 1FEC
6 - Function TasPR_Run Offset = 101C
5 - Function PinCA_Route Offset = 0794
4 - Function ComFS_APPCServ Offset = 1114
3 - Function TasTA_Exec Offset = 1F40
2 - Function TasTA_Run Offset = 1C28
1 - Function main Offset = 0B68
0 - Function __start Offset = 0088
*********************** Registers Dump *************************
GPR00 = FFFFFFFF --- GPR01 = 2FF1B8E0 --- GPR02 = FFFFFFFF ---
GPR03 = 00000000 --- GPR04 = FFFFFFFF --- GPR05 = FFFFFFFF ---
GPR06 = FFFFFFFF --- GPR07 = FFFFFFFF --- GPR08 = FFFFFFFF ---
GPR09 = FFFFFFFF --- GPR10 = FFFFFFFF --- GPR11 = FFFFFFFF ---
GPR12 = FFFFFFFF --- GPR13 = 00000D14 --- GPR14 = 00200000 ---
GPR15 = 2FF1F2B8 --- GPR16 = 00000000 --- GPR17 = 00000D34 ---
GPR18 = F11D42D0 --- GPR19 = 00000000 --- GPR20 = A00F9AB0 ---
GPR21 = F11CBC58 --- GPR22 = 00000004 --- GPR23 = D4635A58 ---
GPR24 = F0269328 --- GPR25 = 00000000 --- GPR26 = 00000001 ---
GPR27 = 00000001 --- GPR28 = 00000000 --- GPR29 = F0269328 ---
GPR30 = 20011D28 --- GPR31 = 00000006 ---
FPR00 = 00000000 --- FPR01 = 40450000 --- FPR02 = 41E00000 ---
FPR03 = 43300800 --- FPR04 = FFF80000 --- FPR05 = 40450000 ---
FPR06 = 43300800 --- FPR07 = 3FE33333 --- FPR08 = 43300000 ---
FPR09 = FFF80000 --- FPR10 = 00000000 --- FPR11 = 00000000 ---
FPR12 = 00000000 --- FPR13 = 00000000 --- FPR14 = 00000000 ---
FPR15 = 00000000 --- FPR16 = 00000000 --- FPR17 = 00000000 ---
FPR18 = 00000000 --- FPR19 = 00000000 --- FPR20 = 00000000 ---
FPR21 = 00000000 --- FPR22 = 00000000 --- FPR23 = 00000000 ---
FPR24 = 00000000 --- FPR25 = 00000000 --- FPR26 = 00000000 ---
FPR27 = 00000000 --- FPR28 = 00000000 --- FPR29 = 00000000 ---
FPR30 = 00000000 --- FPR31 = 00000000 --- IAR = D0A6F5BC --- MSR = 0000D0B2 ---
CR = 4A284222 --- LR = FFFFFFFF ---
CTR = FFFFFFFF --- XER = FFFFFFFF ---
MQ = FFFFFFFF --- TID = 00000000 ---
FPSCR = 00004000 ---
-----------------Stack Traceback--------------------
PID = 130032, TID = 1
16 - Function strcpy Offset = 00E0
15 - Function strcpyFPcPCc Offset = 001C
14 - Function putAttribute__10AbstractDBFPcT1 Offset = 014C
13 - Function DoAction__19CpubOptrLgnValidity Offset = 0C80
12 - Function cics_enter Offset = 0124
11 - Function main Offset = 002C
10 - Function PinCA_StartC Offset = 01D0
9 - Function TasPR_CallApplication Offset = 0508
8 - Function TasPR_RunProgram Offset = 14D8
7 - Function TasPR_IRun Offset = 1FEC
6 - Function TasPR_Run Offset = 101C
5 - Function PinCA_Route Offset = 0794
4 - Function ComFS_APPCServ Offset = 1114
3 - Function TasTA_Exec Offset = 1F40
2 - Function TasTA_Run Offset = 1C28
1 - Function main Offset = 0B68
0 - Function __start Offset = 0088
*********************** Registers Dump *************************
GPR00 = 00000020 --- GPR01 = 2FF1C790 --- GPR02 = 205F3CC8 ---
GPR03 = 00000000 --- GPR04 = 2FF1D094 --- GPR05 = FFFFFFFF ---
GPR06 = 52000000 --- GPR07 = 6F770052 --- GPR08 = 1006CEF9 ---
GPR09 = 00000080 --- GPR10 = 7F7F7F7F --- GPR11 = 00000004 ---
GPR12 = 00000080 --- GPR13 = 00000D14 --- GPR14 = 00200000 ---
GPR15 = 2FF1F2B8 --- GPR16 = 00000000 --- GPR17 = 00000D34 ---
GPR18 = F11D42D0 --- GPR19 = 00000000 --- GPR20 = A00F9AB0 ---
GPR21 = F11CBC58 --- GPR22 = 00000004 --- GPR23 = D4635A58 ---
GPR24 = 00000000 --- GPR25 = 00000000 --- GPR26 = 00000000 ---
GPR27 = 00000000 --- GPR28 = 205F64CC --- GPR29 = 00010000 ---
GPR30 = 27F4AA54 --- GPR31 = D264D3E8 ---
FPR00 = 00000000 --- FPR01 = 00000000 --- FPR02 = 41E00000 ---
FPR03 = 43300800 --- FPR04 = FFF80000 --- FPR05 = 40450000 ---
FPR06 = 43300800 --- FPR07 = 3FE33333 --- FPR08 = 43300000 ---
FPR09 = FFF80000 --- FPR10 = 00000000 --- FPR11 = 00000000 ---
FPR12 = 00000000 --- FPR13 = 00000000 --- FPR14 = 00000000 ---
FPR15 = 00000000 --- FPR16 = 00000000 --- FPR17 = 00000000 ---
FPR18 = 00000000 --- FPR19 = 00000000 --- FPR20 = 00000000 ---
FPR21 = 00000000 --- FPR22 = 00000000 --- FPR23 = 00000000 ---
FPR24 = 00000000 --- FPR25 = 00000000 --- FPR26 = 00000000 ---
FPR27 = 00000000 --- FPR28 = 00000000 --- FPR29 = 00000000 ---
FPR30 = 00000000 --- FPR31 = 00000000 --- IAR = D262F6C4 --- MSR = 0000D0B2 ---
CR = 42288848 --- LR = D263849C ---
CTR = 00000004 --- XER = 00000000 ---
MQ = 00000000 --- TID = 00000000 ---
FPSCR = 00000000 ---
traceback文件显示的是cicsas发生地址越界错误时的堆栈信息,有助于查找应用错误。从下往上看,第2个main就是应用的main函数
大侠们,显身啊