Can the action of Vkgparm PLSZSEC be controlled?
search cancel

Can the action of Vkgparm PLSZSEC be controlled?

book

Article ID: 42517

calendar_today

Updated On:

Products

Allocate DASD Space and Placement

Issue/Introduction

Question:
 
Is there any way that the action of Vkgparm PLSZSEC can be controlled?
 
Answer:
 
PLSZSEC affects all data sets including system data sets that must have a zero Secondary value.
 
It is suggested that you do not specify PLSZSEC (Y) unless you use a specific ASR rule
(example follows) to circumvent its action for those data sets that must have a Zero Secondary.
   
With PLSZSEC (Y) active, this ASR logic will exclude altering the value of SEC for certain data sets:
   
 IF &VAMENVIR EQ 'EXTEND' OR
    &VAMENVIR EQ 'EOV'    THEN
  DO
   IF &SECONDARY_HAD_ZERO = 'Y' THEN
    DO
     IF &DSN = &ZEROSEC   OR      /* FILTLIST OF DSNS FOR ZERO-SEC */
        &VOL = &SYSVOLS   THEN    /* FILTLIST OF SYSTEM VOLS */
      DO
       WRITE '&DSN EXTENT DENIED BECAUSE ZERO SECONDARY REQUIRED'
       EXIT CODE(4)
      END
       ELSE EXIT CODE(0)
    END
  END
 
The &ZEROSEC and &SYSVOLS data sets will now get a E37-0C abend instead of a D37-04.
Other data sets will be allowed to EXTEND.
    
You can create a FILTLIST of the data sets that you do not want to alter the value of SEC,
and/or a filtlist of system vols that on which you don't want this action to occur.

Environment

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