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 is the difference between Global and External Variables?
Mention the guidelines to write a structured cobol program?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Explain what you understand by passing by value.
What are the different rules of SORT operation?
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
how to convert the recors form vsam file to db2 table tru file aid
What is inspect in cobol ?
Can we redefine the field of x(200) to less than 200?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What are the pertinent COBOL
What is comp-1 and comp-2?
What is the difference between comp and comp-3 usage?
Why did you choose to work with ibm mainframe cobol programming?