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
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.
Define static linking and dynamic linking.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
) how do u code after getting data?
Describe the cobol database components?
How you can read the file from bottom?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
In COBOL programming, what is PERFORM? What is VARYING?
What are the different open modes available in cobol?
What is the difference between goback, stop run and exit program in cobol?
What are the pertinent COBOL commands?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Write a cobol program making use of the redefine clause.
How do you get the data to code the BMS macro?