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

Display Clause in DB2.


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sonasheetal

New User


Joined: 08 Jun 2005
Posts: 27

PostPosted: Tue Dec 11, 2007 11:03 am
Reply with quote

Hi All,

Please clarify this.

1)I have one field having datatype as 9(20) and this filed should be moved to one of the DB2 filed which may be int or decimal.
I think any Db2 datatype is not equivalent to 9(Usage is Display).

What needs to be done for this case?

Are both value as well as datatype considered for the internal movement in DB2?
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Tue Dec 11, 2007 6:40 pm
Reply with quote

9(20) isn't a valid datatype. What is the actual datatype, CHAR, VARCHAR, decimal, int? 9(20) isn't valid for the definition of a decimal either. That would mean the number is 9 digits long with 20 decimal places. You can't have more decimals than you have digits.
Back to top
View user's profile Send private message
sonasheetal

New User


Joined: 08 Jun 2005
Posts: 27

PostPosted: Thu Dec 13, 2007 10:12 am
Reply with quote

stodolas wrote:
9(20) isn't a valid datatype.


Sorry it's not 9(20) it's 9(8)only. Please reply .
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts To search DB2 table based on Conditio... DB2 1
No new posts How to display the leading zeros of a... DB2 7
No new posts SDSF display Max-RC in different colors TSO/ISPF 4
No new posts Converting a file from PD to display ... SYNCSORT 4
No new posts Unable to display comp variable COBOL Programming 4
Search our Forums:

Back to Top