Passing data from COBOL to JCL
My question to the forum is that I have to pass some data (a switch) to the JCL from COBOL program , how to achieve this without passing data to a file.
As we know we can pass the data to COBOL program from JCL using PARM, I am looking for similar solution, if possible.
Also based upon the data passed from COBOL to the JCL, I would be executing the next steps in the JCL.
Caren"; ; ; ;