Cobol programs to pass parameters to TWS jobs

298 Views Asked by At

Would the use of variables be the best method? In the similar way the EQQPIFJC does to manipulate JCL/TWS variables?

1

There are 1 best solutions below

0
On

There are 2 main possibilities to pass some variables to a submitted job stream:

  1. Replace the value in a variable table, and submit the job stream (occurrence). If you need to submit the same job stream multiple time, this method may be difficult to manage, since you cannot change the variable table value until the job stream has completed.
  2. Use a JCL preparation job at the beginning of your job stream and then submit the job stream and use the JCL Preparation PIFs to specify your variable values or edit the job JCLs.