Suppose i want to declare a binary comp fild of 7 byte .how
to write?
Answer Posted / ankit
hi i think you cannot declare binary comp of 7 bytes
exactly as the comp variable are fixed to half(2 bytes)
word,full word(4 bytes) and double word(8 bytes), so you
need to choose the paricular comp variable to use ok
correct me if i am wrong
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What are the different rules to perform a Search?
What is the difference between goback, stop run and exit program in cobol?
what is difference between cobol and cobol/400
how do you reference the variable block file formats from cobol programs
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How do u write test cases?
Define cobol?
Which division and paragraphs are mandatory for a COBOL program?
What is the local-storage section?
What is the difference between comp and comp-3?
Can we redefine the field of x(200) to less than 200?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is the difference between perform … with test after and perform … with test before?
Name some of the examples of COBOl 11?
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?