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

Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

914


How you can read the file from bottom?

884


) How do u handle errors in BMS macro?

1632


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

904


What is link edit in cobol?

947


Write down the divisions of cobol program?

855


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

948


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1420


how do you reference the ksds vsam file formats from cobol programs

891


What is inspect in cobol ?

1025


What is static and dynamic call in cobol?

793


Have you used comp and comp-3 in your project? And how?

2218


In COBOL programming, what is PERFORM? What is VARYING?

874


What is the difference between PIC 9.99 and PIC9v99?

1043


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3000