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
How do get the result of your program directly on your pc?
what happens if parmparameter passes zero bytes to the program
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Write a program to explain size error.
what is the difference between COBOL2 AND COBOL390?
What is the difference between Call and a Link?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Write a program that uses move corresponding.
What are various search techniques in cobol? Explain.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is amode(24)?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?