COMP?
Answers were Sorted based on User's Feedback
Answer / neeraj
comp,comp-4 both are same used for the binary
representation of the data fields.
Size of memory allocated will be based on
If 1-4 2 bytes
5-9 4 bytes
10-18 8 bytes
Pic clause is attached with COMP data types
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / vampire
comp had boundaries
1-4 halfword-2bytes-16bites-4nibbles
5-9 fullword-4bytes-32bites-8nibbles
10-18 doubleword-8bytes-64bites-16nibbles
| Is This Answer Correct ? | 0 Yes | 0 No |
I have a sequential file. How do I access a record in this sequential file randomly in my program ?
What is reference modification? What is UNION in sql and syntax? What is the difference between GDGS and VSAM? Which is prefer one? What is processing groups in endevor?
consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.
What divisions, sections and paragraphs are mandatory for a COBOL program?
if a=b how the flow will complete??? perform test through test-exit. perform activa through activa-exit. test. if a=b then next sentence else move a to c. test-exit. exit. activa. -- -- activa-exit. exit.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Describe the difference between subscripting and indexing ?
what are decleratives in cobol?
What are various search techniques in cobol? Explain.
Describe the cobol database components?
We know that size of redefine and redefining need not to be same..Then does the below case true 01 ws-date pic 9(6). 01 ws-redf-date REDEFINES ws-date 05 ws-year pic 9(4) 05 ws-mon pic 9(2) 05 ws-day pic 9(2)
how to resolve the file status 47.......