(Another "too late" reply. That'll teach me to go on vacation.)

This script illustrates how to do it, but I'm not sure it would work early in 
the IPL sequence (since it needs to run TSO commands):

#!/bin/sh

if /bin/tsocmd "listd '$1'" >/dev/null 2>/dev/null ; then
  echo "$1 exists"
else
  echo "$1 does not exist"
fi

-- Jerry

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to