Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Doubt in Error codes

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

New User


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

PostPosted: Thu Jul 15, 2010 5:33 pm    Post subject: Doubt in Error codes
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    Post subject:
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    Post subject:
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: 90
Location: chenna/i-

PostPosted: Thu Jul 15, 2010 6:39 pm    Post subject: hi
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: 239
Location: Cincinnati OH USA

PostPosted: Thu Jul 15, 2010 6:53 pm    Post subject:
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    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 15, 2010 7:20 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Jul 15, 2010 7:22 pm    Post subject:
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    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 OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Doubt in MFS abdulrafi IMS DB/DC 2 Fri Oct 21, 2016 3:09 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us