Page 1 of 1

variables for Dataset names and space parameters in JCL.

Posted: Sun Feb 12, 2023 7:16 pm
by GhuGhu
Hello
Does Anyone know?
How to declare variables for Dataset names and space parameters in JCL?

Re: variables for Dataset names and space parameters in JCL.

Posted: Mon Feb 13, 2023 9:35 pm
by Robert Sample
JCL is not a programming language and hence is very limited in what you can do with it. As long as you are using a PROC, you can specify PROC parameters for data set names (whole or partial), space parameters, and so forth. If you are not using a PROC, then you don't have much choice but to hard-code the values you want in the JCL.