Is it possible to mutliply a comp variable with an comp-3
variable. Will there be any error if i do it?
Answers were Sorted based on User's Feedback
Answer / vikas pujar
Yes. Comp and Comp-3 are used to store numeric values so
operation is valid.
Is This Answer Correct ? | 15 Yes | 1 No |
Answer / 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 |
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?
What is the difference between comp and comp-3?
how to display the dataset information?
01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name
What is the difference between static call & Dynamic call?
how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas
What is the difference between CALL BY VALUE and CALL BY CONTENT?
what is MSGLEVEL?
what r the types of perform statement
In my table having 3000 Records. How can I delete the 500th row? (we don't know what is data inside the table)
How to print 10 to 1 if the input have only 10 digit number?