Sun Dec 16, 2018 9:39 pm
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

Scenario:
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)?
Thanks.
jwilt
 
Posts: 54
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.
jwilt
 
Posts: 54
Joined: Wed Feb 27, 2013 7:46 pm

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

Jim,

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

HTH,

Richard
rtaylor
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 1396
Joined: Wed Oct 26, 2011 7:40 pm


Return to ECL

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron