but I can't use internal reader and neither a program, I need to do it only with JCL.
Sorry, but that is nonsense. . . .
Any JCL ever submitted/executed will only execute some program(s).
JCL cannot do anything like this by itself.
And the Internal Reader is simply a JCL specification. . .