Joined: 30 Mar 2007 Posts: 22 Location: United States of america
I have a program TTEF158 that calls program TTEF120. Both the programs access DB2 tables. The compilation and the Bind for both the programs has gone through fine. After running program TTEF158 the following error occured:-
The system or user abend U 004 R=NULL was issued. From compile unit TTEF158 at entry point DB2ENTRY at compile unit offset +00002408 at entry offset +0000059E at address 24202DA8.
Also the sysout does not show any useful message. Can anybody guide me on how to track the error from this???
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
You need to post some more info.
Please post all of the jcl for the problem step as well as the jes and sysout info from that step.
Other than db2, is any other module/service invoked?
Does the step create any output at all? Are there any datasets that have a disp of (new,catlg,delete)? If there are, please change them to (new,catlg,catlg) so they can be looked at to see if any output was created. The disp can be put back once this is resolved.