Using Alternate Indexes in Batch pgms: ?

Answers were Sorted based on User's Feedback



Using Alternate Indexes in Batch pgms: ?..

Answer / guest

In the JCL, you must have DD stmts for the cluster and for
the path(s). In the COBOL Program, SELECT .. ASSIGN TO
ddname for base cluster RECORD KEY IS... ALTERNATE RECORD
KEY IS..

Is This Answer Correct ?    5 Yes 1 No

Using Alternate Indexes in Batch pgms: ?..

Answer / mani

For every alternate index we define the path.
First we define the base cluster then the alternate index
and then the path.while creating the path we specify the
base cluster and alternate index through which the base
cluster would be accessed.
In order to refer to the alternate index in the jcl we put
two dd statements one for the base cluster and another for
accessing the alternate index which is nothing but the path.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More VSAM Interview Questions

What is a ca split?

0 Answers  


what is the meaning of dynamic processing in vsam?

0 Answers   IBM,


can we create vsam files on multiple volumes ?

3 Answers   Tech Mahindra,


Explain the significance of the shareoptions parameter?

0 Answers  


there are seven idcams commands in vsam. Can you name and explain each of them?

0 Answers   IBM,






How do you define a KSDS ?

1 Answers   IBM,


What is a path?

1 Answers  


What is IDCAMS ?

2 Answers  


what is difference between repro and export? if any one know this plz tell me

7 Answers   Cap Gemini,


The first VSAM file V1 has 2 fields A and B . There is a DB2 file which has fields E and f. We need the fields A, B , E and F to another VSAM file called V2. Kindly mention the logic in procedure division in cobol..

2 Answers   Cap Gemini,


How to insert values for variables that are declared as COMP-3 variables in COBOL program in an already created VSAM file.

3 Answers  


Describe SHAREOPTIONS parameter (SHR) in Define Cluster command.?

1 Answers  


Categories