Suppose i want to declare a binary comp fild of 7 byte .how
to write?
Answer Posted / tata
if we use comp3(packed decimal)
declare like 01 a pic s9(13)comp3.
13/2=6.5 and s takes extrahalf byte.
that is 6.5+0.5=7.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the difference between binary search and sequential search?
What is the difference between comp and comp-3?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What are the rules of the move verb?
What is Pic 9v99 Indicates in COBOL?
Define static linking and dynamic linking.
What are declaratives and what are their uses in cobol?
how do you reference the rrds file formats from cobol programs
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
how do you reference the variable unblock file formats from cobol programs
For rewrite, why is it mandatory that file needs to be opened?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Write some characteristics of cobol as means of business language.
What are the different rules of SORT operation?