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 / ts nithiyanandan
answer is a
IF B Numeric (correct syntax)
IF (B Numeric) (incorrect syntax)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between structured cobol programming and object alternativelyiented cobol?
What are the different types of condition in cobol and write their forms.
In COBOL, what is the different between index and subscript?
What are the cobol coding sheets?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
How do you differentiate between cobol and cobol-ii?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is Pic 9v99 Indicates in COBOL?
Why occurs cannot be used in 01 level in COBOL?
Difference between cobol and cobol-ii?
For rewrite, why is it mandatory that file needs to be opened?
What is the difference between external and global variables in COBOL?
how to convert the recors form vsam file to db2 table tru file aid
How do get the result of your program directly on your pc?