Is it possible to submit a JCL in loop?

Is it possible to submit a JCL in loop?

I have a requirement in my project to repeat a particular function carried by a JCL, n number of times each time changing the parameter being passed to the JCL.

I think if I could somehow submit the JCL in loop, I would be able to achieve this.

I am new to this forum, can anyone help me out