Joined: 18 Jun 2007 Posts: 208 Location: Cochin/Kerala/India
My scenario as below, I have a file with below layout
Account Number X(15)
Country Code X(03)
First Name X(10)
Middle Name X(10)
Last Name X(10)
In the above layout combination of Account Number,First Name , and DOB are the key field. I want to create the VSAM file with above layout and have to use in program to access the records using above key fields.
Anyone help me how i can define the key fields. I think we can create primary key using consecutive fields only.