I want to declare a field with data type Double in my COBOL
program. how shall i do that ?
Answer Posted / tarunam
To Declare field with double data type u have to declare it
with comp-2
eg: PIC s9(8) usage is comp-2
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
How many bytes S(8) comp field occupy and its maximum value?
How can you get the ksds file records into your cobol program?
What is static and dynamic call in cobol?
What is comp-1 and comp-2?
What is the LINKAGE SECTION used in COBOL?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What guidelines should be followed to write a structured cobol prgm?
Why occurs cannot be used in 01 level in COBOL?
What are literals?
What are various search techniques in cobol? Explain.
How do u write test cases?
What is length is cobol?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?