Hello and welcome to the forum,
To get help here, you need to post something people can use to help you. . . What you posted is not even a clear question, let alone a description of what you are lookikng for. Keep in mind that while your issue may be completely clear to you, it may not be to others who read it.
for me (i need a generation of GDG to be auto inremental and read a file having input(BMC) and write the errors in output file load this in a table and terminate
Show what you would enter "by hand" and what you want changed "automatically" and someone may be able to offer a suggestion.
Most places BMC is a tool and if something repetitive is wanted, it is controlled using the system scheduling software. . .