Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is inspect in cobol ?

1307


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

2011


i want a program using by if, evaluate , string, unstring, perform, occurs?

4727


Difference between array and sub-script ?

1669


In COBOL, what is the different between index and subscript?

1245


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2113


What is the difference between perform … with test after and perform … with test before?

1460


Name the sections present in data division.

1251


What is the difference between Global and External Variables?

1381


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1330


) how do u code after getting data?

2155


What are 77 levels used for?

1109


What are the different rules to perform a Search?

1100


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1205


What is the difference between PIC 9.99 and PIC9v99?

1342