Hi,
Can somebody help me out on "how to allocate a VSAM file" from an assembler program. I actually want to dynamically create a VSAM file from an application program written in assembler.
I'm only able to get how to read and write to an existing VSAM file. I'm not getting how to allocate a VSAM from an assembler program.
Joined: 17 Aug 2007 Posts: 334 Location: Iowa, USA
One option is to call program IDCAMS after building the SYSIN data "cards" in your main program. The DFSMS Access Methods Services for Catalogs manual has an Appendix showing a program invoked IDCAMS sample.
Joined: 14 Mar 2007 Posts: 3744 Location: Brussels once more ...
Siddharth4v wrote:
Hi,
Can somebody help me out on "how to allocate a VSAM file" from an assembler program. I actually want to dynamically create a VSAM file from an application program written in assembler.
I'm only able to get how to read and write to an existing VSAM file. I'm not getting how to allocate a VSAM from an assembler program.
May I ask the need to build a dynamic VSAM file in flight ?
Have you considered the problems that this may cause for the prod support people who will have no record in their JCL of where the file is created.
I have come across this before and it really is a PUTA for those that have to support the end product.