function getProfilePath() { if(reportContext.getHttpServletRequest() != null) { var rp = reportContext.getHttpServletRequest().getSession().getServletContext().getRealPath("connectionStore.xml"); if( rp != null ){ return rp; } } return "connectionStore.xml"; }
function getDb2Profile(runtime) { var p = params["__runtime"].value; p = p.toLowerCase(); if(p== 'prod') { return 'MVSDB2P'; } else { return 'MVSDB2T'; } }