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
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the difference between PIC 9.99 and 9v99 in COBOL?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
what happens if parmparameter passes zero bytes to the program
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Why occurs cannot be used in 01 level in COBOL?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is rmode(24)
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
Explain how you can characterize tables in cobol?
Explain what you understand by passing by value.
explain sorting techniques in cobol program?
How do you reference the following file formats from cobol programs?
How many sections are there in data division in COBOL?