…
com.xyenterprise.PCMtoolsAPI.PCMcommand cmd = cwSession.getCommand();
com.xyenterprise.PCMtoolsAPI.PCMdata l_pPCMdata = null;
…
try {
l_pPCMdata = cmd.Select(sNewIdPath);
String sContainer = l_pPCMdata.GetValueByLabel( 0,"NAME" );
String sNamePath = l_pPCMdata.GetValueByLabel( 0,"NAME_PATH" );
} catch (Exception e) {…}
finally {…
// release the data object but not the command object
// command object will be released by the CWServletListener object
if (l_pPCMdata!=null) { l_pPCMdata.Release();}
…
}