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

Cobol declaration for DB2 column type as Decimal (9,2) ?


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

New User


Joined: 13 Jul 2006
Posts: 1
Location: Cyprus

PostPosted: Wed Aug 16, 2006 6:58 pm
Reply with quote

What would be the corresponding Cobol declaration for a DB2 column with type as Decimal (9,2) ?

Title edited from "Regd DB2 variable" to "Cobol declaration for DB2 column type as Decimal (9,2) ?" : Priyesh.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Wed Aug 16, 2006 7:52 pm
Reply with quote

In COBOL, it translates to PIC S9(7)V9(2) USAGE COMP-3.
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 Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
Search our Forums:

Back to Top