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 / ramesh
HI Vish,
We can use 02 level to describe C.
Only Mistake seems to be Wrong Syntax.
Thanks
Rameshkumar.H.K.
Infosys
| Is This Answer Correct ? | 1 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
Mention the guidelines to write a structured cobol program?
how to convert the recors form vsam file to db2 table tru file aid
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is amode(31)
What is the difference between external and global variables in COBOL?
example for sub strings ? and refernce modifications whit output pls
What is comp-1 and comp-2?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How do we get current date from system with century in COBOL?
Can we change the password using ALTER? anyone tried and changed?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
what are decleratives in cobol?
Discuss about changing dataset name in proc.
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue