Problem:
Is there an easy way of telling whether we have Application Server, Enterprise Server or the Development System set up in the environment?
Resolution:
You can recognize the product from the second character of the PRN. This is the number we use to identify the product versions for each platform.
You can see the PRN by typing cob -V. The possible values for the second character are :
X for Server Express,
1 for Application Server
B for Enterprise Server
So, the PRN will look similar to these examples:
PRN=RXCTH/AAM:9i.T4.40.01 - development product
PRN=R1CTH/AAD:9i.T4.40.01 - application server
PRN=RBCTH/AAC:9i.T4.40.01 - enterprise server
You can also cat the $COBDIR/etc/cobver file for this information.