MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DB2 Equivalent for S9(18) COMP?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
viji
Beginner


Joined: 03 Dec 2002
Posts: 17
Topics: 11

PostPosted: Wed Oct 15, 2003 4:49 am    Post subject: DB2 Equivalent for S9(18) COMP? Reply with quote

What is the DB2 Equivalent data type for S9(18 ) COMP?

Thanks
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12357
Topics: 75
Location: San Jose

PostPosted: Wed Oct 15, 2003 7:01 am    Post subject: Reply with quote

Viji,

DB2 has no data types equivalent to S9(18 ) comp. However you can use DECIMAL (18, 0) which in turn will be stored as PIC S9(18 )V USAGE COMP-3.

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
viji
Beginner


Joined: 03 Dec 2002
Posts: 17
Topics: 11

PostPosted: Thu Oct 30, 2003 1:39 am    Post subject: Reply with quote

Thanks Kolusu, your solution works good.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group