VSAM File in NATURAL Program

Hi… How can we use VSAM (KSDS, ESDS, RRDS) files in NATURAL module? Is it the same as Sequential file using WORK FILE?


No, you need the   Natural for VSAM   interface.

Thanks Wolf. I think the link you provided is for online mode. I need to write a Natural program for batch which will be reading many input work files. some of these work files will be sequential files and some files will be VSAM. Can I treat all files same?


No. You still need the Natural for VSAM add-on to access VSAM files directly from Natural no matter if it’s in batch or under a TP monitor.