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

How to display offset thru cobol program?

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

New User

Joined: 06 Jan 2015
Posts: 19
Location: Hyderabad, INDIA

PostPosted: Sun Apr 22, 2018 8:42 pm
Reply with quote

I have a scenario that our client requested to display the offset value on CICS screen when ever we get any ASRA(Soc7) abend.

Can we get the offset value in cobol program when the program is getting abend with ASRA(Soc7)?

Kindly help with the solution if any... icon_question.gif

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

Global Moderator

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

PostPosted: Mon Apr 23, 2018 7:59 pm
Reply with quote

That's exactly why they created Dumps to investigate such abends. Look for the CICS dump analyzer tools available in the market to troubleshoot any such abends.
Back to top
View user's profile Send private message

REXX Moderator

Joined: 13 Mar 2006
Posts: 1348
Location: Israel

PostPosted: Wed Apr 25, 2018 1:06 pm
Reply with quote

Application Programming Reference wrote:
Returns a fullword binary offset in bytes of an abend when the latest abend
with a code ASRA, ASRB, or ASRD occurred. If the abend is outside the
current program, a value of X’FFFFFFFF’ is returned. The data area is set to
binary zeros if no ASRA, ASRB, or ASRD abend occurred during the execution
of the issuing transaction, or if the abend originally occurred in a remote DPL
server program.

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 Converting a file from PD to display ... SYNCSORT 4
No new posts Using sort on VB records based on off... DFSORT/ICETOOL 6
This topic is locked: you cannot edit posts or make replies. Passing a field name to COBOL program COBOL Programming 10
No new posts COBOL Performance Tuning COBOL Programming 6
No new posts JCL for replacing code in Cobol JCL & VSAM 7
Search our Forums:

Back to Top