{
yield `...creating wu...`;
const ecl = `\
r := RECORDOF('${logicalFile}', { INTEGER personid, STRING state, STRING gender }, LOOKUP);
ds := DATASET('${logicalFile}', r ,THOR);
ds(state='FL', gender='F', personid > 100, personid < 200);
`;
const wu = await hpccComms.Workunit.submit({ baseUrl: baseUrl }, "hthor", ecl);
yield `...executing wu...`;
await wu.watchUntilComplete();
yield `...fetch results wu...`;
const results = await wu.fetchResults();
const rows = await results && results.length ? results[0].fetchRows() : [];
yield `...deleting wu...`;
wu.delete();
yield rows;
}