What is the different between index and subscript?

Answer Posted / ash

Subscript - refers to the array occurance

Index - refers to the byte position/displacement of the
occurance from the start of the array

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the usage of comp fields in cobol?

907


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

886


) How do u handle errors in BMS macro

1736


What are the different data types in cobol?

1071


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

994


What is cobol?

971


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2370


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2184


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5627


Name some of the examples of COBOl 11?

2906


How many bytes S(8) comp field occupy and its maximum value?

1877


Can we change the password using ALTER? anyone tried and changed?

1777


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

931


What are the different rules to perform a Search?

841


What is a scope terminator give example?

863