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 |
I have dataset DS1 which has records say 1 2 3 4 5 ... ... etc And also I have second dataset DS2 whcih has records 1 3 4 5 6 8 .. ... Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.
How include time & date in the report generation in cobol programing?
Difference between cobol and cobol-ii?
How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.
Consider the following code: 77 A PIC 99V99 VALUE 55.35 77 B PIC 99V999 VALUE 32.754 ADD B TO A ON SIZE ERROR DISPLAY "ERROR!!!" What will be the result ? (a) A=88.10, B=32.754 (b) A=87.00 B=32.754 (c) A=87.10 B=32.754 (d) ERROR!!! will be DISPLAYed on the screen.
Extract only those records from a PS file which are having word 'TEXT' in the records using COBOL? The word TEXT is not present in a particular position in all the records.
01 a pic s9(5) occupies how many bytes ?
Explain the configuration section of a cobol program with examples of syntax.
Did anybody attend the walkin of TCS on 31st July in Gurgaon for any technology,If u have completed 3 round i.e till the HR round,have u received the Offer letter yet? Please let me know.Thanks.
What is the maximum data length for Numeric DataType ?
A s9(4). B v9(4) value 0.21 can i move this?
what is Reentrancy and Quasi-reentrancy?