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 |
study the data discriptions and answer the questions given below i)01 ORDER RECORD 05 OUT-HEADER PIC X(50) 05 ITEM-COUNT PIC 99 05 OUT-ITEM PIC X(20) OCCURS 1 TO 20 DEPENDING ON ITEM-COUNT ii)01 NAME-AND-ADDRESS 05 N-AND-A-LINE OCCURES 5 05 LINE-LENGTH PIC P9 05 N-AND-A-CHAR PIC X OCCURS 1 TO 20 DEPENDING ON LINE-LENGTH iii)01 SALES-LIST 05 SALESMAN-COUNT PIC 99 05 SALES PIC 9(6) OCCURS 1 TO 100 DEPENDING ON SALESMAN-COUNT iv)01 ORDER-RECORD 05 NO-OF-BRANDS PIC 99 05 BRAND-PURCHASED OCCURS 1 TO 15 DEPENDING ON NO-OF-BRANDS which of the following is true? a.i) and iii) are valid b.i) and iv) are valid c.i) and iii) are not valid d.all are valid
How arrays can be defined in COBOL?
How do you differentiate between cobol and cobol-ii?
hi, can you ppl tell me, how to check whether the rewrite we gave for the ksds file is successful or not in the program.? i gave rewrite, the rewrite code is executing and maxcc=0 but updation doenot happen in the file?
What are options have been removed in COBOL 11?
Can a Search can be done on a table with or without Index?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
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.
What is SQL Code -904 and -903 in DB2 And how to handle it?
how many divisions are there in cobol
how to display comp3 variables reply soon ?
01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ?