How to Handle VSAM files in PL1 language

The VSAM files KSDS, ESDS are RRDS are popular and being used in both COBOL and PLI programs. PLI program has some specific rules to VSAM files. Examples given to understand the concept clearly.