View previous topic :: View next topic
|
Author |
Message |
subratarec
Active User
Joined: 22 Dec 2007 Posts: 126 Location: Bangalore
|
|
|
|
Hi,
A small query on EIBCPOSN value in IBM Fault Analyzer tool (under CICS Control blocks).
There was one ASRA abend and while analyzing the abend we took help of IBM FA tool. Now under 'CICS Control Blocks' section we get 'System EXEC Interface Block' details (example EIBTIME, EIBAID etc.). Here we got EIBCPOSN value as '02AC'
Could some one please help me to understand the exact meaning of this value under EIBCPOSN?
Code: |
System EXEC Interface Block (SYSEIB) at Address 25A99A80 :
Task Start Time . . . . . : 15:36:03 (EIBTIME - HH:MM:SS)
Task Start Date . . . . . : 2017/06/12 (EIBDATE - YYYY/MM/DD)
Transaction ID. . . . . . : AJ82 (EIBTRNID)
Task Number . . . . . . . : 77232 (EIBTASKN)
Terminal ID . . . . . . . : %03E (EIBTRMID)
Cursor Position . . . . . : 02AC (EIBCPOSN)
Communication Area Length : 2145 (EIBCALEN)
Attention ID. . . . . . . : ENTER (EIBAID)
Last CICS Command . . . . : ADDRESS (EIBFN)
RESP Condition. . . . . . : NORMAL (EIBRESP)
RESP Condition Reason . . : 00000000 (EIBRESP2) |
I want to understand the exact position of the cursor at the time of abend.
Thanks, |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Google is your friend - key word EIBCPOSN. You could also search this forum as that is where the best answer is to be found. |
|
Back to top |
|
|
subratarec
Active User
Joined: 22 Dec 2007 Posts: 126 Location: Bangalore
|
|
|
|
Hi Nic,
Thanks for your reply. Yes I am trying to find the same. Actually the value '02AC' - row and column wise I am not sure how to interpret so thought to check once.
Thanks |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
It is a hex offset from the top left corner of the screen.
x'02AC' = 684 decimal
684 / 80 = 8.55
.55 * 80 = 44
8 = row 8
44 = column 44 |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3048 Location: NYC,USA
|
|
|
|
Formula.
Code: |
line # : int(EIBCPOSN /80) + 1
column # : 1 + EIBCPOSN - 80 *(int(EIBCPOSN /80)) |
|
|
Back to top |
|
|
subratarec
Active User
Joined: 22 Dec 2007 Posts: 126 Location: Bangalore
|
|
|
|
Thanks! daveporcelan and Rohit for your reply. I didn't realize that the value in FA tool for EIBCPOSN was Hexadecimal. Thanks for pointing that out.
Just one small confirmation. So as per your calculation the cursor was at line/Row # 9 and column # 44 right?
Thanks |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3048 Location: NYC,USA
|
|
|
|
Quote: |
Just one small confirmation. So as per your calculation the cursor was at line/Row # 9 and column # 44 right? |
ain't it a simple math?
Code: |
Line # : int(684/80) + 1 = 9
column # : 1 + 684 - 80 * 8 = 45 |
|
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
How the heck did you not realise that 02AC was not a hex number? As the documentation says it is a description of where the cursor is on the screen. What the description does not say is that it is the number of bytes from top left of screen (byte 0) but the past inferred by my earlier post explicitly decribes everything that you neede to know.
I suggest that in future you post in the Beginners Forum. |
|
Back to top |
|
|
subratarec
Active User
Joined: 22 Dec 2007 Posts: 126 Location: Bangalore
|
|
|
|
Hi Rohit,
Yes the math is pretty simple. But if you move your eyeball little bit upwards and see the post of daveporcelan and then if you see what daveporcelan wrote after doing the calculation then you will understand what I tried to clarify!! (there after explanation he wrote '8 = row 8') and what u make out of it? Thats what I was trying to clarify.
Hi Nic,
Yes that's what I missed. Actually all the other values it was showing in FA tool are normal decimal numbers so because of that I couldn't realize that it's Hex number. Anyway thanks for suggesting me to post details in beginners forum. While dealing with tough things whole day sometimes we miss the simple thing and I believe that can happen to anyone |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
This is my bad. I gave you erroneous information. I forgot to add 1.
I would have figured it out, when the cursor position was in a blank spot perhaps. |
|
Back to top |
|
|
subratarec
Active User
Joined: 22 Dec 2007 Posts: 126 Location: Bangalore
|
|
|
|
Hi daveporcelan,
No issue at all. Mistake can happen. But Thanks!! again for your post and your help.
Thanks |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3048 Location: NYC,USA
|
|
|
|
Quote: |
Yes the math is pretty simple. But if you move your eyeball little bit upwards and see the post of daveporcelan and then if you see what daveporcelan wrote after doing the calculation then you will understand what I tried to clarify!! (there after explanation he wrote '8 = row 8') and what u make out of it? Thats what I was trying to clarify. |
Do you think I haven't paid attention to what has been posted by daveporcelan ? of course I did lol.
Moreover, you said below to my reply and that's where I said ,you were wrong with the simple math because if you do correctly it then would have been 9/45 and you wouldn't have asked me for confirmation.
Quote: |
Just one small confirmation. So as per your calculation the cursor was at line/Row # 9 and column # 44 right? |
|
|
Back to top |
|
|
|