There is an XML interface that allows you to write scripts, such as Perl scripts, that will create and manage NSS pools and volumes. The API set can be downloaded from NDK: Virtual File Services . These APIs are for NSS services on NetWare 6.0, NetWare 6.5, OES 1, OES 2, and OES 2015 servers.
Look for sample scripts at the link above or in Cool Solutions. For example: