What is the difference between index and subscript?

Answer Posted / vamsi krishna g

subscript is occurence type like arrays so if u want to
dispaly a value of it means it will search for it from
begining

indexed:
if u want to dispaly a value of an vairable it will
directly diplaces to that value and display the value

so from this we can say
subscript is an occurance type and indexed is displacement
type
if any wrong means please update me

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the access modes of START statement?

719


What is link edit in cobol?

773


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

885


IF I mention stop run in CICS what happens?

1898


What is static and dynamic call in cobol?

597






Describe the cobol database components?

682


What rules are followed by the search verb.

638


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

983


Which division and paragraphs are mandatory for a COBOL program?

709


Write a cobol program making use of the redefine clause.

737


What are the different rules of SORT operation?

700


What is the compute verb? How is it used?

662


How you can characterize tables in cobol?

720


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

710


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

423