How can I change a new allocation made without DSNTYPE=LARGE to be LARGE using Allocate?
The Allocate variable &DSNTYPE is available in the ACS environment only for Read and cannot be overridden.
You need to identify the data set in the ACS environment of your 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.
Sample:
IF &VAMENVIR = 'ACS' THEN
DO
IF &DSN = ABC.LARGE.** AND &DSNTYPE NE 'LARGE' THEN
DO
SET &DC = 'DCLARGE'
WRITE '#ACS_ENV: &DSN DC SET TO &DC'
END
END