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...

1) can we display the index?

Answer Posted / jswan

You can't directly display the Index. But you can create a normal numeric field in your working storage and set that to the Index.

Example:

01 WS-TABLE.
05 WS-CUSTOMER PIC X(25) OCCURS 10 INDEXED BY INDEX1.

01 WS-NUMERICS.
05 WS-INDEX-COUNT PIC 9(02) VALUE 0.

SET WS-INDEX-COUNT TO INDEX1.
DISPLAY WS-INDEX-COUNT.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different rules to perform a Search?

1098


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1300


Explain what you understand by passing by value.

1157


What are the different open modes available in cobol?

1193


Why occurs cannot be used in 01 level in COBOL?

1162


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

1328


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17881


What type of SDLC u followed? Why?

1999


In which area will you utilize 88 level items in cobol?

1165


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

2400


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

1114


Explain about different table spaces.

1107


What is rmode(any) ?

1268


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

1239


what are decleratives in cobol?

2264