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



how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please ..

Answer / raja

Its occupies 8 bytes, because comp-4 is equalent to comp.

Is This Answer Correct ?    6 Yes 0 No

how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please ..

Answer / sharpmainframe

IT WILL BE 6 BECAUSE COMOP-4 OCCUPIED HALFBYTE.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More COBOL Interview Questions

How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

0 Answers  


is it possible to pass an SQL query inside a jcl which is inside a cobol program?

5 Answers   CTS,


Can JUSTIFIED be used for all the data types?

3 Answers  


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

0 Answers   HCL,


What does MAXCC 3 means? It is used in one my codes.

2 Answers   Wipro,






Minimum how many Number of Paragraphs are there in ID- Divison?

7 Answers   IBM,


What is the problem of ordered sequential files access?

0 Answers  


How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?

4 Answers  


Can 88 level variable be declared in FD section..?

1 Answers   Infosys,


How can you pass values from COBOL program to non-COBOL programs?

2 Answers  


what is lrec=f,what is difference between f,fb,v,vb?what is default value?how do we came to know that records are in f,fb,v,vb?

2 Answers   IBM, Wipro,


Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER

4 Answers  


Categories