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

Doubt in Error codes


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

New User


Joined: 29 Sep 2007
Posts: 93
Location: chenna/i-

PostPosted: Thu Jul 15, 2010 5:33 pm
Reply with quote

My program is handling IMs as well as db2 tables.

it is like loading a log file into a database.

i am getting the error code as

612 ERRORCODE
DATA NOT FOUND ERRORMSG
i dont know what it means?

kindly let me know what the error code means.
how to rectify?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 15, 2010 6:15 pm
Reply with quote

it would help if you would display (cut&paste) the complete error message.
I assume this is in sysout?

if indeed, the complete message is:

Code:
612 ERRORCODE
DATA NOT FOUND ERRORMSG


then i would start with the error messages generated internally by your program.
A search of 'DATA NOT FOUND' through your compile listing may help.
(I suggest the compile listing, because all copybooks would be expanded)

In addition, does your program LINK/CALL to a common error message routine?
If that is true, then I would look in your program where the 612 is being moved to the parms supplied to the error message routine.
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Thu Jul 15, 2010 6:28 pm
Reply with quote

Quote:
612 ERRORCODE
DATA NOT FOUND ERRORMSG

If the quoted message is an exact copy of what you have got in your output I would say that an application module may have tried to format a return code somewhere in the execution path.

You will have to identify where (module/address) your application ended execution, and the last IMS or DB2 interaction and its returned value. In case the abend has been called from the application, the program return code will usually only reflect the method used for terminating execution.

Also you should try to identify error messages and codes in your job output, along with the message identifier, to look up causes and possible solutions.
Back to top
View user's profile Send private message
sivasaras

New User


Joined: 29 Sep 2007
Posts: 93
Location: chenna/i-

PostPosted: Thu Jul 15, 2010 6:39 pm
Reply with quote

to explain briefly

It is a website designed through IMs screens which is having some different fields

i am entering a data into one field which is ph-no, ph-no is the primary key

at that time only it is showing the error

<errorcode> 612 <errormsg>
<errorcode> data not found <errormsg>
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 419
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Thu Jul 15, 2010 6:53 pm
Reply with quote

long shot -- user or support documentation

hopefully someone document errors and related explanation/solution

may even be in program source modules as mentioned above



okay, everyone can laugh now !
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 15, 2010 6:57 pm
Reply with quote

Quote:
okay, everyone can laugh now !


when the TS comes back again and asks us where to find the error
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Thu Jul 15, 2010 7:15 pm
Reply with quote

icon_lol.gif icon_lol.gif icon_lol.gif
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Jul 15, 2010 7:20 pm
Reply with quote

dneufarth wrote:
hopefully someone document errors and related explanation/solution
Have you been at the Dutch roll ups again ?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jul 15, 2010 7:22 pm
Reply with quote

Playstation 2 will give sometimes also an error code 612.
And no im not a playstation user, just something google gave me.
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 Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top