Hi All,
how is sign is stored in S9(17) comp-3 variable.
Answer with an Example will be of great help.
Answer Posted / blessy
it is stored as hex value in the last nibble(4 bits) of the
storage. for eg: if the number is +100, it stores hex 0C in
the last byte. as 2D if the number is -102 .
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Difference between cobol and cobol-ii?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is amode(24)?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is a scope terminator give example?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Have you used comp and comp-3 in your project? And how?
How are the next sentence and continue different from each other?
What is rmode(any) ?
For rewrite, why is it mandatory that file needs to be opened?
Discuss about changing dataset name in proc.
What is the difference between comp and comp-3 usage?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps