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 |
what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include tempary file used for sorting in assign statement?
What is static and dynamic call in cobol?
What is EIBCALEN? Why it is used?
In an EVALUTE statement is the order of the WHEN clauses significant?
Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER
what are the steps to sort in a cobol program?
How many types of sorts are there in cobol?
What is the difference between goback, stop run and exit program in cobol?
what is difference between the sysabend and userabend?
What is the usage of comp fields in cobol?
Hi , I am posting some questons which are asked at interview. These may help u for ur interview... what is static and dynamic call?
Can we use icetool in cobol program?