Hi,
Is there a function to call what Input Data has Errors?
For example, I have 5 csdb files. I run my batch editing application and select all csdb files in the input data. Then, it can display in the lst file which csdb file names have met the condition. This determination is made on a per csdb file basis, rather than based on the case ID. Since the case IDs are mixed up among the 5 csdb files, I need to identify them by their csdb file names.
Thanks
Input Data
-
- Posts: 1801
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Input Data
Can you just add the filename to your error message?
errmsg("Something wrong in %s", filename(DICT_NAME));
Re: Input Data
Thanks, how about the caseid itself?
-
- Posts: 1801
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Input Data
You can use the key function:
errmsg("Something wrong in case %s in file %s", key(DICT_NAME), filename(DICT_NAME));