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 static and dynamic call in cobol?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Define static linking and dynamic linking.
What type of SDLC u followed? Why?
Explain about different table spaces.
) How do u handle errors in BMS macro
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
how do you reference the rrds file formats from cobol programs
What is the compute verb? How is it used?
Which mode is used to operate the sequential file?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?