Preventing scheduling of PSBs and use of DBCTL databases

You can use the /STOP command to stop the scheduling of specific PSBs and the use of a given database.

About this task

The /STOP command works as follows:
  • The ADS keyword specifies that a DEDB area data set (ADS) is to be stopped and deallocated. Note that this command stops only the ADS, not the entire area. The area is stopped only if there is no ADS allocated. This command is rejected if the ADS you specified is the last data set available in the area because ADSs are invalidated when they are stopped. ADSs are reestablished by running the DEDB area data set create utility.
  • The AREA keyword specifies that all the data sets associated with an area are to be stopped and deallocated. The status of this area is set to STOP, as displayed with a /DISPLAY DATABASE command. (See Finding out current status of DBCTL activities.) If the area is already stopped, the /STOP command just deallocates the data sets.
  • The AUTOARCH keyword specifies that automatic archiving is to be stopped.
  • The DATABASE keyword stops the use of the specified database.
  • The OLDS keyword specifies that DBCTL is to stop using an OLDS.
  • The PROGRAM keyword specifies that a PSB is to be stopped.
  • The REGION or THREAD keywords specify a region or thread that is to be stopped. This can be a region or thread shown by the /DISPLAY CCTL command. (See Finding out current status of DBCTL activities.)
  • The WADS keyword indicates that a WADS is to be removed from the pool of WADS.