Question: how to create gdg base in mainframe?
Answer: Create a GDG file. ... 
Create a model or template for the individual generations of data sets. ... 
As a test you can create your first generation of data sets by running this JCL example.