How would the number +1234 be stored if a PIC clause of
PICTUREs9(4) comp-3 were used?
Answer Posted / suputhru
9(4) comp-3 takes 3 byets
each digit takes half byte.
-- -- -- 3bytes
numeric alignment is right to left <-----
first sign will store in half byte right. right.
c
-- -- --
then next 4 will store.
4c
-- -- -- like that
01 23 4c
-- -- -- will store.
Fonda is sign will store right most half byte.
-SK.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is an in line perform? When would you use it? Anything else you wish to say about it.
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What is the LINKAGE SECTION used in COBOL?
For rewrite, why is it mandatory that file needs to be opened?
Write a program that uses move corresponding.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What are the different rules for performing sort operation?
What is inspect in cobol ?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
what happens if parmparameter passes zero bytes to the program
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
How do you reference the following file formats from cobol programs?
Write the code to count the sum of n natural numbers.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?