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

so4e error while compiling a db2 -cobol batch program


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rjskumar_14

New User


Joined: 13 Jul 2006
Posts: 10

PostPosted: Thu Jul 03, 2008 1:56 am
Reply with quote

i tried to compile a cobol-db2 batch program and while compiling in dsnhpc step -pre compiler step it abends with so4e error.
please advise how to resolve this.

it gives active module --dsnhpcand some msg
and abends with SO4E abend code.
Back to top
View user's profile Send private message
Manuneedhi K

Active User


Joined: 07 May 2008
Posts: 115
Location: Chennai

PostPosted: Thu Jul 03, 2008 5:01 pm
Reply with quote

Please provide the complete error message from the job log
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Thu Jul 03, 2008 5:15 pm
Reply with quote

And the manual says
Quote:
04E

Explanation: When the system detects an error in internal IBM DATABASE 2 (DB2®) processing, it will abnormally end a connected user task (TCB) or one of its own internal tasks. For information about the reason codes associated with this abend code, see DB2 Messages and Codes.

System Action: The system abnormally ends the connected user task or the DB2 internal task.

Application Programmer Response: Check register 15 of the SDWA section 'General Purpose Registers at Time of Error', and locate the accompanying reason code. In addition, check the information displayed at the user's terminal, and in the corresponding logrec data set entry.

System Programmer Response: If the error recurs and the program is not in error, look at the messages in the job log for more information. Search problem reporting data bases for a fix for the problem. If no fix exists, contact the IBM Support Center. Provide the SYSOUT output for the job and the logrec data set error record.

Source: DFSMSdfp

so, have you looked at the reason code per the manual?
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 -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts Error to read log with rexx CLIST & REXX 11
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Error when install DB2 DB2 2
Search our Forums:

Back to Top