How can I change a new allocation made without DSNTYPE=LARGE to be LARGE using CA Allocate?
How can I write my CA Allocate ASR in order to get this change?
The CA Allocate variable &DSNTYPE is available in the ACS environment only for Read, so you cannot override it.
You need to identify the data set in the ACS environment of your CA Allocate ASR and assign a corresponding SMS DataClass
that has the dsntype attribute LARGE to change an allocation made from a JCL without DSNTYPE=LARGE to be LARGE.
IF &VAMENVIR = 'ACS' THEN
IF &DSN = ABC.LARGE.** AND &DSNTYPE NE 'LARGE' THEN
SET &DC = 'DCLARGE'
WRITE '#ACS_ENV: &DSN DC SET TO &DC'