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
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Write the code implementing the perform … varying.
What is the difference between goback, stop run and exit program in cobol?
What the difference is between continue and next sentence?
What is report-item in COBOL?
Explain what you understand by passing by value.
What is the difference between comp and comp-3 usage?
How can you get the ksds file records into your cobol program?
Explain how to differentiate call by context by comparing it to other calls?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
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
Difference between cobol and cobol-ii?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Can a Search can be done on a table with or without Index?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?