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
 

 

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
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: 331
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
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm
No new posts Difference Between CICS WebSupport an... sachinji84 CICS 1 Mon Mar 07, 2016 7:25 pm
No new posts Difference between COBOL for MAINFRAM... dejunzhu COBOL Programming 1 Sat Oct 31, 2015 2:18 pm
No new posts Difference between a field Binary COM... jackare COBOL Programming 4 Tue Apr 14, 2015 3:39 am


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