Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Need info on EIBCPOSN value in IBM FA tool

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
subratarec

New User


Joined: 22 Dec 2007
Posts: 78
Location: Bangalore

PostPosted: Wed Jul 12, 2017 3:45 pm    Post subject: Need info on EIBCPOSN value in IBM FA tool
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: 1922
Location: UK

PostPosted: Wed Jul 12, 2017 4:26 pm    Post subject:
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

New User


Joined: 22 Dec 2007
Posts: 78
Location: Bangalore

PostPosted: Wed Jul 12, 2017 5:53 pm    Post subject:
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: 687
Location: Pennsylvania

PostPosted: Wed Jul 12, 2017 6:27 pm    Post subject:
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

Senior Member


Joined: 21 Sep 2010
Posts: 1818
Location: NY,USA

PostPosted: Wed Jul 12, 2017 8:26 pm    Post subject:
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

New User


Joined: 22 Dec 2007
Posts: 78
Location: Bangalore

PostPosted: Thu Jul 13, 2017 12:12 am    Post subject:
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

Senior Member


Joined: 21 Sep 2010
Posts: 1818
Location: NY,USA

PostPosted: Thu Jul 13, 2017 1:37 am    Post subject:
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: 1922
Location: UK

PostPosted: Thu Jul 13, 2017 2:48 am    Post subject:
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

New User


Joined: 22 Dec 2007
Posts: 78
Location: Bangalore

PostPosted: Thu Jul 13, 2017 9:16 am    Post subject:
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: 687
Location: Pennsylvania

PostPosted: Thu Jul 13, 2017 5:00 pm    Post subject:
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

New User


Joined: 22 Dec 2007
Posts: 78
Location: Bangalore

PostPosted: Thu Jul 13, 2017 5:58 pm    Post subject:
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

Senior Member


Joined: 21 Sep 2010
Posts: 1818
Location: NY,USA

PostPosted: Thu Jul 13, 2017 8:23 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts DATAFIX tool jzhardy DB2 0 Wed Aug 09, 2017 9:13 am
No new posts Need info with DBRC recovery ashek15 IMS DB/DC 0 Mon Jan 23, 2017 6:43 am
No new posts IMS Database backup info ashek15 IMS DB/DC 14 Wed Nov 16, 2016 5:29 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us