public string GridParameter(string gridName, string parm) { CheckInit(); string ret = null; string lookupGrid = gridName; if (gridName == "CURRENT") { lookupGrid = m_currentGrid; } try { if (m_gridInfo.HasParameter(lookupGrid)) { OMVSD.OSDMap gInfo = (OMVSD.OSDMap)m_gridInfo.ParamValue(lookupGrid); ret = gInfo[parm].AsString(); } } catch { ret = null; } return(ret); }