Following a PROGRAM control statement, you can specify one or more DDNAME selectors that are associated with that program. For example, you can list some or all of the DDNAMEs (for VSAM files) that this program uses. If you assume that program A225772 requires a VSAM input file on the MASTER DD card and a VSAM output file on the OUTPUT DD CARD, you could specify these DD statements following the PROGRAM selector.
PROGRAM=A225772
(overall constraints for program A225772)
DDNAME=MASTER
(specific constraints for file attached to MASTER DD card)
DDNAME=OUTPUT
(specific constraints for file attached to OUTPUT DD card)
DDNAME=INPUT
(specific constraints for file attached to INPUT DD card)
Note: These ddname constraints apply only to program A225772.
You do not have to specify all of the DD statements that the program uses. You can specify only those DD statements for which you desire values other than the composite values assigned.
Because of the constraint merge, any constraints specified following a DDNAME level selector override any duplicate constraints at the program, job, and cluster levels.
|
Copyright © 2011 CA.
All rights reserved.
|
|