how many bytes does s9(7)COMP-3 field occupies?
Answer Posted / vijayamala
s9(7)comp3
n=7 , (n+1)/2 = (7+1)/2 = 4.
4 bytes will be allocated for this numeric data item.
since comp3 is a packed decimal representation, each byte
can hold 2 data items. which means it 4 bytes can occupy 8
items. In which last item is left for sign digit. So
s9(4)comp3 will have 4bytes allocated & can hold 7 data
item and 1 sign digit in it.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
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
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Explain about different table spaces.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
example for sub strings ? and refernce modifications whit output pls
What is an in line perform? When would you use it? Anything else you wish to say about it.
Difference between cobol and cobol-ii?
What are the different data types in cobol?
Have you used comp and comp-3 in your project? And how?
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?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
) what is the difference between AID and HANDLE AID?
Define static linking and dynamic linking.