how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?
Answer Posted / rana
COMP1 and COMP2 are the Single precision (Full word - 4
bytes) and Double precision (Double word - 8 bytes)
respectively.
They don't contain the Picture Clause.
COMP-3 will contain 8 Bytes.
| Is This Answer Correct ? | 30 Yes | 4 No |
Post New Answer View All Answers
What are declaratives and what are their uses in cobol?
What are the different rules to perform a Search?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What are the cobol coding sheets?
Can we redefine the field of x(200) to less than 200?
What rules are to be followed while using the corresponding options?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
IF I mention stop run in CICS what happens?
What is report-item in COBOL?
What kind of error is trapped by on size error option?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how to convert the recors form vsam file to db2 table tru file aid