What are the situations u have used in ur project for
Subcript and Index ?
1.if u use Subscript why not Index,why u choose Subscript
only?
2.if u use Index why not Subscript,what abt Displacement?
Answers were Sorted based on User's Feedback
Answer / app
SUBSCRIPT: No. of occurences of a table is called Subscript.
INDEX: The disposition of the element.
Index can be used in Table data searching and Sorting but
Subscript won't be useful for the above.
Subscript reperesents as a occurence no. it must be
converted to displacement value each time its used so.. it
is less efficent than index.
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / talluri
---subcript is a occurence of arry element
---index is a displacement no of an array element
subcript is declared as a variable in wss but index declared
using index by clause
| Is This Answer Correct ? | 1 Yes | 1 No |
What is an in-line perform ?
wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?
Determine the total no of bytes in the following. 01 rec1. 02 a pic x(6) 02 b redefines a. 03 c occus 6 times pic 9. 02 d occurs 6 times pic 9. 03 e pic x(5) 03 f pic 999.
what r the types of perform statement
Can we dynamically increase the size of occurs clause? i.e In case I an not sure of the size of array and want to increase the size at run time.If yes , how?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript why not Index,why u choose Subscript only? 2.if u use Index why not Subscript,what abt Displacement?
SSRange is used to do a range check on which of the Following. SUBSCRIPT,INDEX,REFERENCE MODIFICATION,Run-time option.
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is the use of intialize verb?
What guidelines should be followed to write a structured Cobol program?
What was removed from COBOL in the COBOL II implementation?