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 declaratives and what are their uses in cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
Describe the cobol database components?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is the difference between goback, stop run and exit program in cobol?
Why did you choose to work with ibm mainframe cobol programming?
How do define dynamic array in cobol.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How do you differentiate between cobol and cobol-ii?
What is the difference between perform … with test after and perform … with test before?
What are the different data types in cobol?
Discuss about changing dataset name in proc.
) how do u code after getting data?
example for sub strings ? and refernce modifications whit output pls