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
What guidelines should be followed to write a structured cobol prgm?
How to print 10 to 1 if the input have only 10 digit number?
What is report-item in COBOL?
How do you define a variable of comp-1 and comp-2?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
) how do u code after getting data?
Which division and paragraphs are mandatory for a COBOL program?
How to remove 2 duplicate records and copy only one using job control language?
Give some examples of command terminators?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is static and dynamic call in cobol?
What is the usage of comp fields in cobol?
i need a small 3d program using inline and outline.
How do you get the data to code the BMS macro?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?