Writing to a pre-allocated ddname gives full control over spool file attributes. A spool file has to be allocated before starting a GDDM session, which is the recommended way to print GDDM graphics from CA Spool.
The PRINTDST processing option in the nickname must specify that the output is to be written to a sequential file. It must specify a DDname to which GDDM writes the output. This ddname has to be allocated to a CA Spool file before starting a GDDM session. This could be done by using the SUBSYS JCL statement in the GDDM procedure, or by issuing an ESFALLOC command.
The nickname could be defined as:
ADMMNICK NAME=ESF,PROCOPT=((PRINTDST,*,ddname))
ESF is the nickname and ddname is the ddname that is allocated using the ESFALLOC or SUBSYS DD statement. To print GDDM graphics, the users specify the nickname as a printer name.
The SUBSYS DD statement or the ESFALLOC parameters define the attributes for the SPOOL file.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|