What is the difference between index and subscript?
Answer Posted / vamsi krishna g
subscript is occurence type like arrays so if u want to
dispaly a value of it means it will search for it from
begining
indexed:
if u want to dispaly a value of an vairable it will
directly diplaces to that value and display the value
so from this we can say
subscript is an occurance type and indexed is displacement
type
if any wrong means please update me
| Is This Answer Correct ? | 12 Yes | 2 No |
Post New Answer View All Answers
What are 77 levels used for?
What are the access modes of START statement?
Write some characteristics of cobol as means of business language.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What are declaratives and what are their uses in cobol?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
how to convert the recors form vsam file to db2 table tru file aid
In COBOL programming, what is PERFORM? What is VARYING?
What is the difference between Global and External Variables?
What are the different rules for performing sort operation?
What are the different data types in cobol?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
In which area will you utilize 88 level items in cobol?