I wanted to ask if it is possible to pass the value of Symbolic parameter in proc from a file. In other words, can we write the SET statement in a file and include that file in your JCL and use the value of that SET statement for the symbolic parameter in proc.
I tried to run a jcl with file having SET statement and included this file (by using the INCLUDE keyword) in the jcl and used the Symbolic parameter in the proc. But this gave me an error.
•Identify the name of the member of a partitioned data set (PDS) or partitioned data set extended (PDSE) that contains a set of JCL statements (such as DD and OUTPUT JCL statements) called an INCLUDE group.
•Imbed the INCLUDE group in the JCL stream at the position of the INCLUDE statement.
The INCLUDE group replaces the INCLUDE statement, and the system processes the imbedded JCL statements as part of the JCL stream. The JCL statements, which are subject to all JCL processing rules, must be complete statements; that is, you cannot use an imbedded statement to continue the statement that precedes INCLUDE.