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


Please Help Members By Posting Answers For Below Questions

Write a program that uses move corresponding.

676


What are the rules of the move verb?

709


How do you reference the fixed block file formats from cobol programs

709


Explain the configuration section of a cobol program with examples of syntax.

661


HOw can I get the negative sign while deduct high value from low value

1795






What is the default value(s) for an initialize? What keyword will allow for an override of the default?

661


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

2108


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

859


How can you get the ksds file records into your cobol program?

644


What is cobol?

750


What rules are followed by the search verb.

638


What are the different rules for performing sort operation?

766


What is the utilization of copybook in cobol?

657


how do you reference the fixed unblock file formats from cobol programs

712


How to remove 2 duplicate records and copy only one using job control language?

755