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 get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
is it possible to pass an SQL query inside a jcl which is inside a cobol program?
Can JUSTIFIED be used for all the data types?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What does MAXCC 3 means? It is used in one my codes.
Minimum how many Number of Paragraphs are there in ID- Divison?
What is the problem of ordered sequential files access?
How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?
Can 88 level variable be declared in FD section..?
How can you pass values from COBOL program to non-COBOL programs?
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?
Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER