I have a occurs for 100 times but it has executed 101 time
what could be the reason?
Answer Posted / niki
Change Compiler ioption NO SSrange to ssrange. But the
Default is NO SSRANGE.
IF U Use Compiler option SSrange, then whenever the
subscript exceeds its declared
number it will give a Eroor.
for example :
A variable is declared like this...
01 field1.
02 field2 pic x(10) occurs 10 times.
Oputput will be
then field2(1) ......field2(10) is allowed when it exceeds
it will give error
ex: field2(11) ----- erro msg will be displayed
Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What are the various section in data division and briefly explain them.
State the various causes of s0c1, s0c5 and s0c7.
What are the access modes of START statement?
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 do u code after getting data?
When is inspect verb is used in cobol?
What are the different open modes available in cobol?
What is a SSRANGE and NOSSRANGE?
Mention the guidelines to write a structured cobol program?
what are decleratives in cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is the problem of ordered sequential files access?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?