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
How to know whether the module is dynamical or statistical?
Mention the guidelines to write a structured cobol program?
Explain what you understand by passing by value.
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
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
) How do u handle errors in BMS macro
What is cobol?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What guidelines should be followed to write a structured cobol prgm?
What kind of error is trapped by on size error option?
Which is not true about evaluate statement
What is the local-storage section?
How do you define a variable of comp-1 and comp-2?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc