Describe the difference between subscripting and indexing ?
Answers were Sorted based on User's Feedback
Answer / padmanabha naidu.p
subscripting specifies the occurence or position of the
array and index specifies displacement.
subscripting can be manipulated by artimetic operations.
index can by manipulated by set ,perform and search
operations.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / minhaj
subscript represent the occurence of array.
subscript defined with working storage section.
subscript value can be changed with add,subtract,multiplication.
Index represent first occurence in the array,Index define
along with table entries as part of occus class.
value of index can be changed by the set operator.
Is This Answer Correct ? | 2 Yes | 0 No |
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible
Why there is no questions in this column?
I want to declare a field with data type Double in my COBOL program. how shall i do that ?
How do get the result of your program directly on your pc?
I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?
what are the limitations of Inline Perform?
how do you define single dimensional array and multidimensional array in your cobol?
Can a Search can be done on a table with or without Index?
how to know that the file has 300 records how to acess it?
What does the initialize statement do ?
if someone is using my file,how can i find which user id is using?
01 b pic +9(4) How many bytes it will take for storage???