SSH Tectia Server for IBM z/OS is always installed to /opt/tectia.
To put the product in a separate HFS or zFS file system, make an empty tectia directory under /opt:
> cd /opt
> mkdir tectia
Create the file system and mount it on /opt/tectia. You can use the CREAHFS and MOUNHFS examples from SAMPLIB (shown below). The sample files are for HFS but zFS can also be used. Note that mounting the file system causes an operator query that must be responded to. You may want to copy the mount command into the BPXPRMxx member in PARMLIB so that the file system is mounted each time you IPL the system.
//CREAHFS EXEC PGM=IEFBR14
//* Allocate a dataset for a USS file system. The space allocated, 250
//* cylinders, corresponds to about 200 MB on a 3390 device.
//HFS DD DSN=SSZ.SRVR608.HFS,
//* REPLY nn,dddd ON THE MACHINE CONSOLE TO ALLOW MOUNT
//MOUNT EXEC PGM=IKJEFT1A,DYNAMNBR=75,TIME=100,REGION=6M
//* Mount the file system on an existing, empty directory
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTERM DD DUMMY
//SYSTSIN DD *
MOUNT FILESYSTEM('SSZ.SRVR608.HFS') +
Setting Permissions to /opt/tectia
Ensure that the /opt/tectia directory is writable and that it is owned by the SSHD2 user: