How to create a file in CA Spool with a customized file name and OUTPUT values?
When running the z/OS IEBGENER utility, the OUTPUT specifications are passed to CA Spool, but we cannot change the name of the file:
With the CA Spool ESFPRINT utility, we can specify an OWNER which allows for setting the file name as needed, but the OUTPUT statement is then ignored:
The following sample z/OS JCL that uses the IEBGENER utility shows the use of the SUBSYS interface to achieve your goal:
When using this sample file MYFILE will be created in CA Spool with the attributes as defined with the OUTPUT statement.
Refer to the CA Spool System Guide , Chapter 8: SUBSYS Interface, item DD Statement SUBSYS Parameter for a list of the sub-parameters that can be specified while creating a CA Spool file.
Release: CMASLI00200-11.7-Spool-Print Management-Interface for HP Laser