db2 variable decimal(15,2) what is the equalent size of
cobol variable
Answers were Sorted based on User's Feedback
Answer / quasar chunawala
The correct COBOL Field that can hold the Value of DECIMAL
(15,2) SQL Field should be declared as
05 WS-COBOL-DECIMAL-FIELD PIC S9(13)V9(02) COMP-3.
Is This Answer Correct ? | 29 Yes | 3 No |
Can anyone please give the example of Inline Perform.
explain sorting techniques in cobol program?
Write the code to count the sum of n natural numbers.
How can you pass values from COBOL program to non-COBOL programs?
Suppose i have a Cobol field of 10 byte. it contains a decimal sign.How to know where is the point location?
01 ws-p pic 9(2). 01 ws-q pic 9(2) value 01. 01 ws-r pic 9(2) value 99. p.d. compute p = q + r what will be result of p ans(00) but my question is that how i got 10 on the place of 00. (truncation will ocuure on right side not left). please tell me ?
I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?
9(2).99 how many bytes take? Why . consider as a byte?
why mainframe we use not like java as frontend oracle as backend. or not word excel.In there also huge ammount data stored.
How To move a value to an array using move verb?
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
how to access the file from prodution from changeman tool and to submit a file to production