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 open modes available in cobol?
What are the different rules to perform a Search?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What is the difference between comp and comp-3 usage?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
How to print 10 to 1 if the input have only 10 digit number?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
Write a program to enter and display the names of students in a class using the occurs clause.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is perform what is varying?
What is a scope terminator give example?
Have you used comp and comp-3 in your project? And how?
What is a report item?