Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Command UNIQUE CONSTRAINT on any table in BMC DB2 catalog

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

Active User


Joined: 19 Mar 2009
Posts: 192
Location: Globe, India

PostPosted: Thu Aug 18, 2016 3:48 pm    Post subject: Command UNIQUE CONSTRAINT on any table in BMC DB2 catalog
Reply with quote

Does anyone know the command to view unique constraint present on table through BMC DB2 cataog manager ?
Back to top
View user's profile Send private message

rohanthengal

Active User


Joined: 19 Mar 2009
Posts: 192
Location: Globe, India

PostPosted: Thu Aug 18, 2016 3:50 pm    Post subject:
Reply with quote

actually i am getting SQLCODE = -803 while inserting row in table which does not have any primary key.. I checked primary keys for table using command '' PK.
Back to top
View user's profile Send private message
rohanthengal

Active User


Joined: 19 Mar 2009
Posts: 192
Location: Globe, India

PostPosted: Thu Aug 18, 2016 4:15 pm    Post subject:
Reply with quote

Got it.. Finally after multiple trial and errors i found the command as IM.
This will show the columns on which we have UNIQUE constraints.
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 File transfer to remote system using ... kalyan.lc5 TSO/ISPF 2 Wed Jun 24, 2020 1:24 pm
No new posts Hex Table josephineyeow COBOL Programming 2 Thu Jun 18, 2020 7:26 pm
No new posts Catalog table SYSSTATSFEEDBACK beikircherw DB2 2 Tue May 19, 2020 12:20 pm
No new posts DEBUG COMMENT command not adding to log Harold Barnes IBM Tools 0 Fri Apr 24, 2020 12:55 am
This topic is locked: you cannot edit posts or make replies. Macro REXX - ISRE741 Command not exec... sandeep prajapati CLIST & REXX 1 Fri Apr 17, 2020 12:48 am

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