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 |
Whtz the specialty of 77 level number ?
I need to compare two VSAM files, both having 'number' as key. If there is a matching record, write the data into another VSAM file. How will it be possible.
Is It Possible to Update or change in VIEW Mode?
01 a pic s9(5) occupies how many bytes ?
give the examples for strings and unstrings in cobol
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed dd name and dd name is not matching with file and soc7 check the sysdump and copy the offest address then correct it in the program.
10 Answers ADP, Amdocs, Cap Gemini, Keane India Ltd, Super Value, TCS,
What is SDSF?
How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
How many bytes do a s9 (7) comp-3 field occupy?
how to know that the file has 300 records how to acess it?