View previous topic :: View next topic
|
Author |
Message |
Susanta
Active User
Joined: 17 Nov 2009 Posts: 126 Location: India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Susanta
Active User
Joined: 17 Nov 2009 Posts: 126 Location: India
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Susanta wrote: |
It was a problem with memory. |
LOL - whose memory? . you talk about memory and you've used REGION parameter!
Terminology is critical in IT...by Robert Sample. |
|
Back to top |
|
|
|