What is difference between com and com3? Eg. s9(4) so what
is the memory it will occupy com and com3.
Answer Posted / rekha
comp | comp-3
___________________________|__________________________________1>it
will store the data | it will store the data in PACKED in
BINARY FORMAT | DECIMAL FORMAT
2>s9(1)-s9(4) --> 2byts | s9(n)
s9(5)-s9(9) --> 4bytes | if n --> even occupies (n/2)+1b
s9(10-s9(18) -->8bytes | if n --> odd occupies (n+1)/2b
3> it will occupies the | it will occupy less memory
memory based on the range |
____________________________________________________________ex
- s9(4) occupies 2bytes for comp
s9(4) occupies 3bytes for comp-3
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
How do you get the data to code the BMS macro?
how to convert the recors form vsam file to db2 table tru file aid
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...)
How do you reference the fixed block file formats from cobol programs
i need a small 3d program using inline and outline.
What is the difference between Call and a Link?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
State the various causes of s0c1, s0c5 and s0c7.
How many sections are there in data division in COBOL?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is the difference between perform … with test after and perform … with test before?