1.

What Is The Difference Between A Subscript And An Index In A Table Definition?

Answer»

A subscript is a working storage data definition item, TYPICALLY a PIC (999) where a value must be MOVED to the subscript and then incremented or decrements by ADD TO and SUBTRACT FROM statements. An INDEX is a register item that exists outside the programs working storage. You SET an index to a value and SET it UP BY value and DOWN BY value.

A subscript is a working storage data definition item, typically a PIC (999) where a value must be moved to the subscript and then incremented or decrements by ADD TO and SUBTRACT FROM statements. An index is a register item that exists outside the programs working storage. You SET an index to a value and SET it UP BY value and DOWN BY value.



Discussion

No Comment Found