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
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is inspect in cobol ?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is the difference between Global and External Variables?
Write down the divisions of cobol program?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Explain how you can characterize tables in cobol?
how can i see junk values in dclgen or in hostvariable of comp ?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the difference between comp and comp-3 usage?
what is s000 u4087 error? please give the all error codes in cobol,jcl.