I am making a payslip project using IBM mainframes and I am asked to create a payslip report for an employee every month. I can fetch the data of any employee from a central DB2 database. This payslip is supposed to be stored into a VSAM file in a format as follows:
The problem is that I don't know the method to write contents into the file in such a user formatted style.
So can anyone please send me a COBOL code to help me out because when I searched on the internet, all I could find was how to store data in a key-sequenced record format.
Also please tell as to what type of VSAM I should use.