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

A table has two indexes defined. Which one will be used by the SEARCH?

1230


How do you define a variable of comp-1 and comp-2?

1136


How do u write test cases?

2012


What is static and dynamic call in cobol?

1002


how do you reference the rrds file formats from cobol programs

1494


What is the use of intialize verb?

1179


Which Search verb is equivalent to PERFORM…VARYING?

999


how do you reference the variable unblock file formats from cobol programs

1279


Whats the difference between search & search ALL?

6364


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1222


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2014


Why did you choose to work with ibm mainframe cobol programming?

1034


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1114


How do define dynamic array in cobol.

1082


HOw can I get the negative sign while deduct high value from low value

2211