public static void getErrors(string lib, string obj) { lib = lib.Trim().ToUpper(); obj = obj.Trim().ToUpper(); _Success = false; string filetemp = IBMiUtils.DownloadMember(lib, "EVFEVENT", obj); if (filetemp != "") { ErrorHandle.doName(lib.ToUpper() + '/' + obj.ToUpper()); ErrorHandle.setLines(File.ReadAllLines(filetemp)); _Success = true; } }
public static void getErrors(string lib, string obj) { lib = lib.Trim().ToUpper(); obj = obj.Trim().ToUpper(); _Success = false; //string filetemp = IBMiUtils.DownloadMember(lib, "EVFEVENT", obj); string filetemp = IBMiUtils.DownloadMember(lib, "QBIFERR", obj, new IBMDDMi.AllFieldsDDMCallbackAdapter()); if (filetemp != "") { ErrorHandle.doName(lib.ToUpper() + '/' + obj.ToUpper()); ErrorHandle.setLines(File.ReadAllLines(filetemp, Program.Encoding)); _Success = true; } }