COMP field occupy ?
Answers were Sorted based on User's Feedback
Answer / anil prajapati
internally it will store space like as
s9(n) comp where n is as
0-4 --->2 bytes
5-9 --->4 bytes
10-18 ---> 8 bytes
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / prakash shrivastava
comp is a binary storage format.....
0-4 2 bytes-1/2 word
comp is binary storage format...
it occupy--
0-4 2 bytes-1/2 word
5-9 4 bytes-1 word
10-18 8 bytes-2 word
| Is This Answer Correct ? | 4 Yes | 0 No |
can we use the two 01 level in file discription ?
a pic s9(4) comp b pic s9(4) comp-3 c ???????????????? d ???????????????? move a to c add a+B giving d. what is ur declaration for c,d?
what is subscript in cobol?give realtime example?
How to read the last 100 records from a COBOL file. The file contains N number of records.
What is the difference between goback, stop run and exit program in cobol?
How is sign stored in Packed Decimal fields and Zoned Decimal fields?
Where the Plan is located in CICS-DB2
What is an in-line perform ?
if a file has 1000 recods how copy the records from 1 to 100 records using sort
A s9(4). B v9(4) value 0.21 can i move this?
How do you define a table/array in COBOL?
What is the LINKAGE SECTION used for?