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

how can we solve -818 errror and -180 errror


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

New User


Joined: 27 Aug 2006
Posts: 5

PostPosted: Tue Sep 26, 2006 8:11 pm
Reply with quote

Hi,
How can we solve -818 error and -180 error

let me know....
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Tue Sep 26, 2006 8:20 pm
Reply with quote

Hi !

-818 Compile, Link & Bind
-180 Correct the value of the programm field
Not having the right format for time, date or timestamp

Regards, UmeySan
Back to top
View user's profile Send private message
marimuthu_G

New User


Joined: 25 Feb 2008
Posts: 8
Location: India

PostPosted: Mon Mar 17, 2008 11:56 am
Reply with quote

HI ,
i have to FETCH TIMESTAMP VALUE (of a table AND WRITE INTO SEQUENTIAL FILE) and then use this file to poulate a nother table...its giving me -180 error.....how to remove this..
thanx in advance
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Mon Mar 17, 2008 5:29 pm
Reply with quote

Marimuthu_G,

Raise your question with new tiopic.

As UmeySan told, -180 is incorrect format of Timestamp. Post where you are getting the error.

KSK
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Mon Mar 17, 2008 6:18 pm
Reply with quote

if you select a Timestamp field into (or fetch a cursor) a host variable, insure the host variable is defined as pic x(26).

Quote:

FETCH TIMESTAMP VALUE


what are you actually selecting (fetching if it is a cursor). In all caps, this is not good db2 syntax. do you mean select/fetch the value of a timestamp column?
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Mon Mar 17, 2008 6:46 pm
Reply with quote

Seems odd to me also to select a value from DB2, write it to a file, and write it back to DB2.... Unless you are crossing subsystems...
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 how to solve this power failure shutd... ABENDS & Debugging 5
No new posts Any idea about how to solve 3022 aben... IMS DB/DC 3
No new posts DB2: How to solve -805 DB2 Sql code Mainframe Interview Questions 3
No new posts VSAM - Length Errror in CICS CICS 12
No new posts how to solve -904 in cobol db2 program. DB2 3
Search our Forums:

Back to Top