How can an allocation be changed to DSNTYPE LARGE ?

book

Article ID: 40099

calendar_today

Updated On:

Products

CA Allocate DASD Space and Placement

Issue/Introduction

Question:

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?

  

Answer:

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. 

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

 

Environment

Release: ESBALQ99000-12.5-CA-Allocate-DASD Space and Placement-with Quota Manager-Extende
Component: