Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Difference between -180 and -181 with example

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
deepak_shrivastava

New User


Joined: 05 Jan 2016
Posts: 8
Location: India

PostPosted: Wed Jan 06, 2016 10:00 am    Post subject: Difference between -180 and -181 with example
Reply with quote

Hi, Can any one please tell the exact difference between DB2 SQL Error code -180 and -181 with example ?
Back to top
View user's profile Send private message

enrico-sorichetti

Moderator


Joined: 14 Mar 2007
Posts: 10472
Location: italy

PostPosted: Wed Jan 06, 2016 10:47 am    Post subject: Reply to: Difference between -180 and -181 with example
Reply with quote

moved to the appropriate section

the IBM manual has a very clear and detailed explanation of the two error codes.

https://www-01.ibm.com/support/knowledgecenter/#!/SSEPEK_10.0.0/com.ibm.db2z10.doc.codes/src/tpc/n180.html

https://www-01.ibm.com/support/knowledgecenter/#!/SSEPEK_10.0.0/com.ibm.db2z10.doc.codes/src/tpc/n181.html
Back to top
View user's profile Send private message
RahulG31

Active User


Joined: 20 Dec 2014
Posts: 417
Location: USA

PostPosted: Wed Jan 06, 2016 9:21 pm    Post subject: Reply to: Difference between -180 and -181 with example
Reply with quote

Read the links and try to run below mentioned queries:

SQLCODE -180:
Code:
   SELECT TIMESTAMP('XYZ') AS TS
     FROM SYSIBM.SYSDUMMY1
    WITH UR;

SQLCODE -181:
Code:
   SELECT TIMESTAMP('2015-99-24-00.00.00.000000') AS TS
     FROM SYSIBM.SYSDUMMY1
    WITH UR;


.
Back to top
View user's profile Send private message
deepak_shrivastava

New User


Joined: 05 Jan 2016
Posts: 8
Location: India

PostPosted: Wed Jan 06, 2016 10:20 pm    Post subject: Re: Reply to: Difference between -180 and -181 with example
Reply with quote

RahulG31 wrote:
Read the links and try to run below mentioned queries:

SQLCODE -180:
Code:
   SELECT TIMESTAMP('XYZ') AS TS
     FROM SYSIBM.SYSDUMMY1
    WITH UR;

SQLCODE -181:
Code:
   SELECT TIMESTAMP('2015-99-24-00.00.00.000000') AS TS
     FROM SYSIBM.SYSDUMMY1
    WITH UR;


.


Thank You !!
Back to top
View user's profile Send private message
deepak_shrivastava

New User


Joined: 05 Jan 2016
Posts: 8
Location: India

PostPosted: Wed Jan 06, 2016 10:21 pm    Post subject: Re: Reply to: Difference between -180 and -181 with example
Reply with quote

enrico-sorichetti wrote:
moved to the appropriate section

the IBM manual has a very clear and detailed explanation of the two error codes.

https://www-01.ibm.com/support/knowledgecenter/#!/SSEPEK_10.0.0/com.ibm.db2z10.doc.codes/src/tpc/n180.html

https://www-01.ibm.com/support/knowledgecenter/#!/SSEPEK_10.0.0/com.ibm.db2z10.doc.codes/src/tpc/n181.html


Thank You Very much !!
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts ISMF Difference between volume count ... upendrasri IBM Tools 2 Tue Dec 05, 2017 12:40 pm
No new posts Finding difference between two PS fil... Vignesh Sid SYNCSORT 5 Mon Oct 30, 2017 1:13 pm
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us