Page 2 of 2

Re: Global Parameters in JCL ?

PostPosted: Mon Sep 10, 2012 5:47 pm
by noha_nabil
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 ?!

Re: Global Parameters in JCL ?

PostPosted: Mon Sep 10, 2012 5:55 pm
by BillyBoyo
No, you don't need the physical machine. The queues exist, whether serviced physically or logically.

Imagine the potential for chaos is my second answer :-)