langUtil = new LocalizedResource(null,null,DRDA_PROP_MESSAGES);
serverInstance = this;
//set Server attributes to be used in EXCSAT
ProductVersionHolder myPVH = getNetProductVersionHolder();
att_extnam = ATT_SRVNAM + " " + java.lang.Thread.currentThread().getName();
att_srvclsnm = myPVH.getProductName();
String majorStr = String.valueOf(myPVH.getMajorVersion());
String minorStr = String.valueOf(myPVH.getMinorVersion());
// Maintenance version. Server protocol version.
// Only changed if client needs to recognize a new server version.
String drdaMaintStr = String.valueOf(myPVH.getDrdaMaintVersion());
// PRDID format as JCC expects it: CSSMMmx
// MM = major version
// mm = minor version
// x = drda MaintenanceVersion
prdId = "CSS";
if (majorStr.length() == 1)
prdId += "0";
prdId += majorStr;
if (minorStr.length() == 1)
prdId += "0";
prdId += minorStr;
prdId += drdaMaintStr;
att_srvrlslv = prdId + "/" + myPVH.getVersionBuildString(false);
if (SanityManager.DEBUG)
{
if (majorStr.length() > 2 ||
minorStr.length() > 2 ||
drdaMaintStr.length() > 1)
SanityManager.THROWASSERT("version values out of expected range for PRDID");
}
buildNumber = myPVH.getBuildNumber();
}