LIB LINT

Core command LI LN LILN

Checks the SQL library for consistency issues: non-contiguous %N parameters, unknown @instance/@environment ids, duplicate @alias values

Arguments

<name> (optional) a file name, @alias, or search term; ALL (default) checks every entry

Examples

LIB LINT;
LIB LINT COUNTRY.SQL;

Notes

Checks the SQL library for consistency issues: LIB LINT [<name>|ALL]. Reports, never fixes.

With no argument (or the literal ALL), checks every entry. With <name> (resolved the same way as LIB SHOW), only findings involving that entry are reported. Checks performed: non-contiguous %1..%N parameters, an @instance or @environment id that doesn't match any instance/environment known to the current CDF, and two entries declaring the same @alias. See docs/SQL_LIBRARY_AND_SCRIPTS.md, section 7.

Last modified in release 5.0.8.