Is it possible to mutliply a comp variable with an comp-3
variable. Will there be any error if i do it?
Answer Posted / lu
yes, but never do it, you always multiply COMP with COMP
and COMP-3 with COMP-3....when you want to display : move
COMP to pic 9 (extend field) and comp-3 to pic 9 (extend
field)
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Write the code implementing the perform … varying.
) how do u code after getting data?
What is the use of intialize verb?
What are the access modes of START statement?
how do you reference the printer file formats from cobol programs
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?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Can a Search can be done on a table with or without Index?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
what is the use of outrecord?
Which Search verb is equivalent to PERFORM…VARYING?
how to move the records from file to array table. give with code example
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is rmode(24)
Explain how you can characterize tables in cobol?