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

ABEND U4039 while calling a subroutine


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

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Mon Nov 15, 2010 3:25 pm
Reply with quote

Getting abend while calling a subroutine with group item having one pointer.

Please help.

Call statement is like below:

CALL SUB-PGM USING WS-A

Structure of WS-A :

01 WS-A
05 ws-VAR pic x(10).
05 ws-pointer pointer

The ABEND i am getting at the call statement and is ABEND U4039 .

Please Help.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Nov 15, 2010 3:29 pm
Reply with quote

Your own program built on site or from a proprietry software package.

If your own shop - read the code and see why the abend is happeneing
If product software - read the manuals.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Nov 15, 2010 3:31 pm
Reply with quote

Uxxxx are User abends and depend on the program being used and the environment

the first thing to look at are the manuals, not ask a forum

I looked at the manuals on Your behalf and ...

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CEEA1020/CCONTENTS?SHELF=CEE1BK20&DN=SC28-1942-08&DT=20000117144116

Quote:
U4039 (X'FC7')
Explanation: Language Environment is requesting a system abend dump due to an unhandled severity 2, 3, or 4 condition. This does not necessarily indicate an error condition.


Programmer Response: Refer to the original unhandled condition.


System Action: Language Environment continues with termination.



Research the job log for the original abend
Back to top
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Mon Nov 15, 2010 4:37 pm
Reply with quote

It was a problem with memory.
Now i kept REGION=0M and the program works fine.

Previously i kep REGION=8M and it was giving user abend.

Thanks All.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Nov 16, 2010 8:14 pm
Reply with quote

Susanta wrote:
It was a problem with memory.
LOL - whose memory? icon_wink.gif. you talk about memory and you've used REGION parameter!

Terminology is critical in IT...by Robert Sample. icon_smile.gif
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Calling an Open C library function in... CICS 1
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
Search our Forums:

Back to Top