What is the different between index and subscript?

Answer Posted / sharath-hyd

INDEX is Displacement position of array data name.
Subscript is No. of occurenceof array data name.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1377


Write a program to explain size error.

918


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

1104


example for sub strings ? and refernce modifications whit output pls

2099


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6135


how do you reference the fixed unblock file formats from cobol programs

956


What is a report item?

931


Whats the difference between search & search ALL?

5957


What is comp-1 and comp-2?

962


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1878


What is the difference between binary search and sequential search?

880


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

874


What is the utilization of copybook in cobol?

902


Difference between cobol and cobol-ii?

966


how to convert the recors form vsam file to db2 table tru file aid

3003