What is the difference between comp and comp-3 usage?
Explain other COBOL usage?s.
Answer Posted / elite group
Comp -- binary form
Comp-3 Packed Decimal
Usages are:
Display: Default it occupies the number of bytes is equal
to the size of the data-item
Comp -- Binary Number of bytes is equal to the size of the
data-item
Comp-1 -- 4-Bytes no pic clause is required
Comp-2 -- 8-byted no pic caluse is required, Double
precision
Comp-3 -- Packed Decimal Number of bytes is
(n+1)/2 -- if n is odd
(n/2)+1 -- if n is even
Comp-4 --- Same as Comp
| Is This Answer Correct ? | 57 Yes | 14 No |
Post New Answer View All Answers
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
what happens if parmparameter passes zero bytes to the program
) what is the difference between AID and HANDLE AID?
What is redefines clause in COBOL?
How you can read the file from bottom?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
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.
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
Which is not true about evaluate statement
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What are 77 levels used for?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
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...)
What guidelines should be followed to write a structured cobol prgm?
What is amode(24)?