JCL preparation using PIF
You can perform JCL preparation through the program interface using resource type JS for JCL records, or JCLPREP for promptable variables. You can use the resource type JCLPREPA rather than a combination of JS and JCLPREP requests. You can also use JCLPREPA to simulate variable substitution. This lets you perform trial substitution of your variables without updating a job.
For details about variable substitution and job tailoring, see Managing the Workload.