NonStop Software

The unconfigure Source File

Previous Topic | Next Topic | Contents | Index
Getting Started Guide | Programmer's Guide | Reference Guide

unconfigure Source

The distribution unconfigure file:

#!/bin/sh

echo "****************************************************************"
echo "nsdstop must be run prior to running this script and"
echo "NSDCFGDB and NAMINGDB database files cannot be opened."
echo ""
echo "This will PERMANENTLY purge the NSDCFGDB and NAMINGDB databases."
echo "Do you want to proceed (y/n):"

while read in
do
   if [ "$in" = "Y" ] || [ "$in" = "y" ]; then
      # Purge nsdcfgdb and namingdb databases
      gtacl -p fup "purge ! $MY_SUBVOL.nsdcfgdb"
      gtacl -p fup "purge ! $MY_SUBVOL.namingdb"
      break 1
   else
      if [ "$in" = "N" ] || [ "$in" = "n" ]; then
         break 2
      else
         echo "This will PERMANENTLY purge you NSDCFGDB and NAMINGDB databases."
         echo "Do you want to proceed (Y/N):"
      fi
   fi
done

Previous Topic | Next Topic | Contents | Top
Getting Started Guide | Programmer's Guide | Reference Guide
Bibliography | Glossary | Index
© Tandem, a division of Compaq. All rights reserved. Legal notices.