Answer Posted / 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 |
Post New Answer View All Answers
What are the rules of the move verb?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
Whats the difference between search & search ALL?
What is the difference between next sentence and continue in cobol programing language?
Can a Search can be done on a table with or without Index?
What are the pertinent COBOL
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is a report item?
A table has two indexes defined. Which one will be used by the SEARCH?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is amode(31)
What is the Purpose of Pointer in the string?
Are you comfortable in cobol or jcl?
What is a SSRANGE and NOSSRANGE?
example for sub strings ? and refernce modifications whit output pls