How do you expect to copy each line of JCL to JES if you don't open the file containing the JCL?
Bottom line: what you are asking is not possible using a file. You could use the SUBMIT * command in TSO, but then you have to type in each line of JCL from the terminal -- and if you made a single typo, the job would fail.
What does the rexx language reference say and the TSO Command Reference manual say? And you should look at the ISPF Edit and Edit Macros manual. For what it is worth I have Rexx programs that submit jobs.
The problem I have is that people can explain things quickly but I can only comprehend slowly. Regards Nic