What is the different between index and subscript?
Answers were Sorted based on User's Feedback
Answer / 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 |
INDEX is Displacement position of array data name.
Subscript is No. of occurenceof array data name.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / raja
Subscript refers to the array occurrence while index is the
displacement (in no of bytes) from the beginning of the
array. An index can only be modified using PERFORM, SEARCH
& SET. Need to have index for a table in order to use
SEARCH, SEARCH ALL.
Is This Answer Correct ? | 4 Yes | 0 No |
What is a scope terminator? Give examples.
how can we code index in an array of cobol pgm?
u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?
What is COMP-1? COMP-2?
I try to use some column names in my cobol progorm but these column not in db2 table ..when do i get error ..while bind time or runtime?
S9(5)V9(2) occupies how many bytes memory ?
when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?
What are 77 levels used for?
If you were passing a table via linkage, which is preferable - a subscript or an index?
What is SSRANGE, NOSSRANGE ?
Suppose i have a variable with s9(18)v99 comp3 . what is the size of variable . If s9(18) comp3 is 10 bytes . There should be some difference between two allocations ? Thanks krishna chaitanya
CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?