What is Alternate Index ? How is it different from regular
index ?
Answer Posted / vish
The answer provided by NK is absolutely correct but we
should be very careful whil choosing the alternate index as
it may not be Unique. e.g. in the example given by NK, the
Emp# will always be Unique within a company but many many
employees can have the same name. So if we declare Emp_name
as AIX (i.e. alternate Index) and then use it for fetching
data then we may end up in multiple rows and hence we may
need additonal logic to arrive at the desired unique record.
Your comments are Welcome!!
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
Whats the difference between search & search ALL?
What is the local-storage section?
What rules are followed by the search verb.
What are declaratives and what are their uses in cobol?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Explain the configuration section of a cobol program with examples of syntax.
What is redefines clause in COBOL?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Which division and paragraphs are mandatory for a COBOL program?
What is the difference between PIC 9.99 and PIC9v99?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
how to move the records from file to array table. give with code example