how to create alternate index using file-aid
Moderators: Anuj Dhawan, Moderator Group
how to create alternate index using file-aid
i want to create alternate index for a vsam file using file-aid .can any one help .Advance thank you
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
ALTERNATIVE INDEXES - VSAM
You are not providing full info... please provide structure of your vsam file.. you are refering the fields, but we dont dont know the structure of that vsam file.
Let us know, vsam file structured.
so that we can suggest you whether you can go ahead with defining one AIX or multiple ALTERNATIVE INDEXES.
Please dont use ALL CAPITAL letters while posting.
Let us know, vsam file structured.
so that we can suggest you whether you can go ahead with defining one AIX or multiple ALTERNATIVE INDEXES.
Please dont use ALL CAPITAL letters while posting.
Natarajan
Chennai
Chennai
alternate index
My vsam file structure is
01 FS-CLASS-REC.
05 FS-CLASSNO PIC 9(5).
05 FILLER PIC X(1).
05 FS-FLOOR PIC A(6).
05 FILLER PIC X(1).
05 FS-CLASSID PIC X(3).
05 FILLER PIC X(1).
05 FS-BATCH PIC X(20).
05 FILLER PIC X(1).
05 FS-FROM PIC X(10).
05 FILLER PIC X(1).
05 FS-TO PIC X(10).
05 FILLER PIC X(21).
in the above vsam structure ,can u tell me how to create alternate index on fields FS-FLOOR and FS-CLASSID.so, that i can uniquely get the record.
01 FS-CLASS-REC.
05 FS-CLASSNO PIC 9(5).
05 FILLER PIC X(1).
05 FS-FLOOR PIC A(6).
05 FILLER PIC X(1).
05 FS-CLASSID PIC X(3).
05 FILLER PIC X(1).
05 FS-BATCH PIC X(20).
05 FILLER PIC X(1).
05 FS-FROM PIC X(10).
05 FILLER PIC X(1).
05 FS-TO PIC X(10).
05 FILLER PIC X(21).
in the above vsam structure ,can u tell me how to create alternate index on fields FS-FLOOR and FS-CLASSID.so, that i can uniquely get the record.
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page