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
 
ABEND U4039 while calling a subroutine

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 125
Location: India

PostPosted: Mon Nov 15, 2010 3:25 pm    Post subject: ABEND U4039 while calling a subroutine
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: 8657
Location: Back in jolly old England

PostPosted: Mon Nov 15, 2010 3:29 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10457
Location: italy

PostPosted: Mon Nov 15, 2010 3:31 pm    Post subject: Reply to: ABEND U4039 .
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 ...

http://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: 125
Location: India

PostPosted: Mon Nov 15, 2010 4:37 pm    Post subject:
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

Senior Member


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

PostPosted: Tue Nov 16, 2010 8:14 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to force a select query to abend neo4u DB2 5 Mon Apr 23, 2018 1:36 pm
No new posts Handling result sets in the calling N... Rusikesh DB2 7 Fri Apr 13, 2018 12:25 am
No new posts Need help with 002-030 ABEND in TSO R... Terry Tallian TSO/ISPF 0 Sat Mar 17, 2018 1:13 am
No new posts Need help with ABEND RC=S806 RSN=4 an... chong.zhou All Other Mainframe Topics 3 Fri Feb 09, 2018 12:17 am
No new posts CICS called and calling program rizwanaccy CICS 1 Thu Feb 01, 2018 4:34 pm

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