what if any ,is the syntex error in the following piece of code
01 B PIC A(7)
02 C PIC 9(4)
........
IF(B NUMERIC)
ADD 10 TO C
a.the condition in the if statement is wrong
b.noting is wrong
c.because C is initialised.ADD 10 TO C is wrong
d.both B and C shoud have same size.
Answer Posted / asmara
nothing is wrong in the IF statement
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Write a program that uses move corresponding.
What are the rules of the move verb?
How do you reference the fixed block file formats from cobol programs
Explain the configuration section of a cobol program with examples of syntax.
HOw can I get the negative sign while deduct high value from low value
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
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
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
How can you get the ksds file records into your cobol program?
What is cobol?
What rules are followed by the search verb.
What are the different rules for performing sort operation?
What is the utilization of copybook in cobol?
how do you reference the fixed unblock file formats from cobol programs
How to remove 2 duplicate records and copy only one using job control language?