Using Alternate Indexes in Batch pgms: ?
Answers were Sorted based on User's Feedback
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 |
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 |
What is FREESPACE ?
In vsam at the cluster creation for KSDS FREESPACE parameter is required but for ESDS FREESPACE parameter is not required ?
What is a sequence set?
Common VSAM Error conditions and codes
Can you delete vsam files with the delete option of the disposition parameter of jcl?
What is the purpose of having vsam data space?
what is the use of reuse in vsam?
Alt key is used for what type of vsam file
How does control intervals and control areas related to each other?
How is the sorting of vsam files carried?
What is the function of linear dataset in vsam?
How to get the last record in vsam file in cluster?