how many bytes does a s9(12)COMP-4 field occupy??
a.2
b.4
c.8
d.1
ans with reason please
Answers were Sorted based on User's Feedback
Answer / raja
Its occupies 8 bytes, because comp-4 is equalent to comp.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / sharpmainframe
IT WILL BE 6 BECAUSE COMOP-4 OCCUPIED HALFBYTE.
| Is This Answer Correct ? | 1 Yes | 4 No |
how to pass 100 to s9(4) how r they inserted ?
1.What is the default print format in cobol?
How include time & date in the report generation in cobol programing?
What is the local-storage section?
i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?
what is jcl approach for programming?
how to know that the file has 300 records how to acess it?
Why we should use cursor ?
if a file has 1000 recods how copy the records from 1 to 100 records using sort
can we display comp-3 variables. if we want to display what we have to do . give me one example
In COBOL "BEFORE" advancing is there or not ?
How to find whether a Flat file is empty or not without Reading a file in COBOL Program. (not using JCL)