1) can we display the index?

Answer Posted / naina

Yes, we can!!!
The easiest way, which would work in all versions of COBOL
is
SET W-S-VAR-PICS9(9)-USAGE-DISPLAY TO THE-INDEX-U-WANT-TO-
DISPLAY
DISPLAY W-S-VAR-PICS9(9)-USAGE-DISPLAY

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

767


What is the difference between a binary search and a sequential search what are the pertinent cobol?

741


) How do u handle errors in BMS macro?

1433


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

665


What are various search techniques in cobol? Explain.

652






How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

712


What is the difference between PIC 9.99 and PIC9v99?

787


What is inspect in cobol ?

808


What is report-item in COBOL?

713


What is an in line perform? When would you use it? Anything else you wish to say about it.

651


What is the default value(s) for an initialize and what keyword allows for an override of the default?

701


How do we get current date from system with century in COBOL?

811


Explain the configuration section of a cobol program with examples of syntax.

663


What is the local-storage section?

689


How can you get the ksds file records into your cobol program?

646