How to display the index.(displacement from an array)

Answer Posted / naina

Ye 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 ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you can read the file from bottom?

660


What is the difference between binary search and sequential search?

643


how do you reference the printer file formats from cobol programs

666


What is a scope terminator give example?

657


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

677






write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

712


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

744


Whats the difference between search & search ALL?

5264


Write the code implementing the perform … varying.

646


What is the difference between goback, stop run and exit program in cobol?

932


What is the difference between comp and comp-3 usage?

681


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1960


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

807


Which is not true about evaluate statement

1587


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

17046