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


Please Help Members By Posting Answers For Below Questions

What is the difference between a binary search and a sequential search what are the pertinent cobol?

737


How to remove 2 duplicate records and copy only one using job control language?

755


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2725


IF I mention stop run in CICS what happens?

1898


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?

1808






What are the access modes of START statement?

719


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

681


How do you differentiate between cobol and cobol-ii?

658


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2060


Name some of the examples of COBOl 11?

2688


) what is the difference between AID and HANDLE AID?

1637


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1774


What are the different rules of SORT operation?

702


Which division and paragraphs are mandatory for a COBOL program?

712


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2661