IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need info on EIBCPOSN value in IBM FA tool


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
subratarec

Active User


Joined: 22 Dec 2007
Posts: 126
Location: Bangalore

PostPosted: Wed Jul 12, 2017 3:45 pm
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Wed Jul 12, 2017 4:26 pm
Reply with quote

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
View user's profile Send private message
subratarec

Active User


Joined: 22 Dec 2007
Posts: 126
Location: Bangalore

PostPosted: Wed Jul 12, 2017 5:53 pm
Reply with quote

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
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Wed Jul 12, 2017 6:27 pm
Reply with quote

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
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3048
Location: NYC,USA

PostPosted: Wed Jul 12, 2017 8:26 pm
Reply with quote

Formula.
Code:
 line #   : int(EIBCPOSN /80) + 1
 column # : 1 + EIBCPOSN - 80 *(int(EIBCPOSN /80))
Back to top
View user's profile Send private message
subratarec

Active User


Joined: 22 Dec 2007
Posts: 126
Location: Bangalore

PostPosted: Thu Jul 13, 2017 12:12 am
Reply with quote

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
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3048
Location: NYC,USA

PostPosted: Thu Jul 13, 2017 1:37 am
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Thu Jul 13, 2017 2:48 am
Reply with quote

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
View user's profile Send private message
subratarec

Active User


Joined: 22 Dec 2007
Posts: 126
Location: Bangalore

PostPosted: Thu Jul 13, 2017 9:16 am
Reply with quote

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 icon_smile.gif
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Thu Jul 13, 2017 5:00 pm
Reply with quote

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
View user's profile Send private message
subratarec

Active User


Joined: 22 Dec 2007
Posts: 126
Location: Bangalore

PostPosted: Thu Jul 13, 2017 5:58 pm
Reply with quote

Hi daveporcelan,

No issue at all. Mistake can happen. But Thanks!! again for your post and your help.

Thanks
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3048
Location: NYC,USA

PostPosted: Thu Jul 13, 2017 8:23 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Mass JCL release via IDZ tool(eclipse... CA Products 1
No new posts in REXX,how to get sysprt info CLIST & REXX 9
No new posts Copy a PDS to a new PDS - why do I ne... TSO/ISPF 8
No new posts SXP Tool for PL1 or Module library ma... PL/I & Assembler 0
Search our Forums:

Back to Top