I have a occurs for 100 times but it has executed 101 time
what could be the reason?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / babjee talluri
we use compiler option is SSREANGE , it is used to array
boundary checking, by default NOREANGE,
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / arun gopal
Logical error!!.. check the logic to see if the logic which
performs that section is coded properly to exit at the
bondary condition.
| Is This Answer Correct ? | 5 Yes | 2 No |
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?
01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?
how do u indetify files succesfully executed or not ?
What is the use of LINKAGE SECTION?
What is the file organization clause ?
I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.
write a program to eliminate duplicate records in a input file and send them to output file.
WE HAVE 5 DIFFERENT RECORDING MODE IN COBOL.FIXED, FIXEDBLOCK, VARIABLE, VARIABLEBLOCK AND UNDEFINED. WHAT IS THE DIFFERENCE AMONG ALL AND WHICH TYPE OF FORMAT SHOULD BE USED WHEN
1) can we display the index?
What is the LINKAGE SECTION used for?
how many bytes does s9(7)COMP-3 field occupies?