Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Convert DECIMAL(7,3) into equivalent COBOL host variable PIC form.
The formula for converting DECIMAL DB2 data type to COBOL equivalent isāDECIMAL(p,q) = PIC S9(p-q)V(q). Where V indicates implied decimal.
The DECIMAL(7,3) can take a sample value as 7861.237 and this can be converted to COBOL equivalent as PIC S9(7-3)V(3) = PIC S9(4)V(3).
Advertisements
