Answer Posted / vasanth
No it should be M+N/2 for bytes allocation in case of
variable var1 pic 9(6)v99 comp-3
where M=6 and N=2
The limit of comp-3 variable declartion is EX: var1 s9(18)
comp-3
| Is This Answer Correct ? | 9 Yes | 9 No |
Post New Answer View All Answers
What is amode(24)?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is the difference between goback, stop run and exit program in cobol?
What are the pertinent COBOL commands?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
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 ?
Define cobol?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What are all the divisions of a COBOL program?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is report-item in COBOL?
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
how can i see junk values in dclgen or in hostvariable of comp ?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there