Mon May 16, 2022 5:57 am
Login Register Lost Password? Contact Us

Catching layout mismatch without failing the WU

Comments and questions related to the Enterprise Control Language

Wed Mar 14, 2018 12:11 am Change Time Zone

Many logical files are processed in the same workunit.
If one of them has had a recent layout change, get "Layout does not match published layout", and workunit fails. I.e., none of the other (independent) results are generated.
Naturally, this can be broken into smaller independent parts.

But -
Is there a way to "catch" this layout mismatch failure (without failing the WU) and continue processing (with a 0-record result for the failed ds, or similar)?
Posts: 56
Joined: Wed Feb 27, 2013 7:46 pm

Thu Mar 15, 2018 5:41 am Change Time Zone

I've just seen the new "LOOKUP" option for DATASET and RECORDOF, for 6.4+. This should help with the scenario I outlined.
Posts: 56
Joined: Wed Feb 27, 2013 7:46 pm

Fri Mar 16, 2018 1:14 pm Change Time Zone


That looks like your best option. Did you also find the Programmer's Guide article about their use?


Community Advisory Board Member
Community Advisory Board Member
Posts: 1619
Joined: Wed Oct 26, 2011 7:40 pm

Return to ECL

Who is online

Users browsing this forum: No registered users and 1 guest