Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

U4039-8 ABEND (COBOL DB2 Program)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
Michael Baier

New User


Joined: 03 Nov 2008
Posts: 4
Location: Baltimore

PostPosted: Thu Sep 01, 2011 2:11 am    Post subject: U4039-8 ABEND (COBOL DB2 Program)
Reply with quote

Hi,

I am writing a Mainframe COBOL DB2 program where i need to call another COBOL program but i do this i recieve a S0C4 error. Any Ideas?!

PROGRAM
$1194.ROME.SOURCE(MROME1)
~In paragraph 2100-CALL-H9NMRD3V-GET-NUMI when calling H9NMRD3V:
CALL 'H9NMRD3V' USING M-NMRDR-PASSED-FIELDS
NUMIDENT-RECORD-TABLE
WT-USER-REQUEST-BLOCK.

I receive the following error:

ERROR
CEE3204S The system detected a protection exception (System Completion Code=0C4 ).
From compile unit MROME1 at entry point MROME1 at compile unit offset +000013E6 at entry offset +000013E6 at
address 30CC36E6.

A storage reference exception occurred during execution of program
H9NMRD3V. The expected completion code is S0C4.
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Thu Sep 01, 2011 2:26 am    Post subject:
Reply with quote

i imagine one of the following structures:
M-NMRDR-PASSED-FIELDS
NUMIDENT-RECORD-TABLE
WT-USER-REQUEST-BLOCK.

was not properly addressed by MROME1 before attempting the CALL.

since it is first on the list and because of the name of the structure,
i would start with: M-NMRDR-PASSED-FIELDS
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Thu Sep 01, 2011 2:38 am    Post subject: Reply to: U4039-8 ABEND (COBOL DB2 Program)
Reply with quote

Ah, beat me dbz.

I even agree, from the name, which is the most likely culprit. Then the 2nd on, and last the WT-.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Thu Sep 01, 2011 3:18 am    Post subject:
Reply with quote

something else to think about:

1. does the PROCEDURE DIVISION USING list,
match that of the
CALL USING list?

2. you have the offset of the ABEND.
you have a STATIC CALL,
Determine which instruction in H9NMRD3V returned a SOC4.
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us