BillyBoyo wrote:Get your JCL reference.
Look at SYSRDR, SYSPCH and SYSIPT.
SYSPCH used to be a physical card punch. SYSRDR the card reader. So, you could "punch" a "deck". Then assign the RDR to IPT and your "punched" cards start running, as a continuation of your Job.
Of course, you'll need something that can PUNCH and some way to change the thing that can be punched. I did it from our source-libary/editor system, which conveniently had a "-PU(NCH)" command.
I've never done this with "physical" equipment
It is a loooonnnggggg time since I did that. Would've been about 1980 or so. So I can't give you the exact details without doing the research myself. It would spoil your "learning opportunity" if I did, as well.
mmm, But what is the case that need to use this approach "a physical card punch" ?!!
I know you can't do it in Cobol.
I forget to ask you, Why we cannot access the JCL through Cobol program ?!