config/ had drifted from pipekit.db: group memberships and three
schedules existed only in the DB, cjobdr and cjobh had no sidecars at
all, and ab.{json,sql} was left over from a module no longer in the DB
(an apply would have recreated it). pipekit apply --dry-run now reports
that the database matches config.
Two real inconsistencies fixed in ffpdglr1.json: it was missing the
ffpdglr1_hot watermark added with the rollover hot set, so an apply from
files would have deleted the watermark while the committed SQL still
referenced {ffpdglr1_hot}; and its period resolver had been edited in the
UI without an export, so the file carried a stale format('%L', ...)
variant.
Purchasing members were all run_order 0, which happened to sort
poh, poh_deleted, poi alphabetically and satisfy the real constraints by
accident. Now explicit: poh 1, poi 2, poh_deleted 3 -- poi resolves its
watermark off cms.poh, and poh_deleted's first hook reads cms.poh.
Also describes eight GP modules that had no description (dest_description
is the half the sidecar format carries; the module-level description
lives only in the DB).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
55 lines
1.3 KiB
SQL
55 lines
1.3 KiB
SQL
SELECT
|
|
RTRIM(EDTYPE) AS edtype,
|
|
RTRIM("EDJOB#") AS "edjob#",
|
|
"EDSEQ#" AS "edseq#",
|
|
"EDLIN#" AS "edlin#",
|
|
RTRIM(EDDEPT) AS eddept,
|
|
RTRIM(EDRESC) AS edresc,
|
|
RTRIM(EDOPNM) AS edopnm,
|
|
EDSETP AS edsetp,
|
|
EDRUNS AS edruns,
|
|
RTRIM(EDRTYP) AS edrtyp,
|
|
EDSCRW AS edscrw,
|
|
RTRIM(EDREPP) AS edrepp,
|
|
EDLAGT AS edlagt,
|
|
RTRIM(EDBK01) AS edbk01,
|
|
EDTBTH AS edtbth,
|
|
RTRIM(EDUNIT) AS edunit,
|
|
RTRIM(EDBK02) AS edbk02,
|
|
EDEFF AS edeff,
|
|
RTRIM(EDBK03) AS edbk03,
|
|
"ED#MEN" AS "ed#men",
|
|
"ED#MCH" AS "ed#mch",
|
|
EDRUNQ AS edrunq,
|
|
EDCOMQ AS edcomq,
|
|
EDCTME AS edctme,
|
|
EDMULT AS edmult,
|
|
EDSCHQ AS edschq,
|
|
RTRIM(EDSTAT) AS edstat,
|
|
RTRIM(EDFUT1) AS edfut1,
|
|
RTRIM(EDFUT2) AS edfut2,
|
|
RTRIM(EDFUT3) AS edfut3,
|
|
RTRIM(EDFUT4) AS edfut4,
|
|
EDFUT5 AS edfut5,
|
|
EDFUT6 AS edfut6,
|
|
RTRIM(EDFUT7) AS edfut7,
|
|
RTRIM(EDFUT8) AS edfut8,
|
|
RTRIM(EDFUT9) AS edfut9,
|
|
RTRIM(EDFUTA) AS edfuta,
|
|
RTRIM(EDFUTB) AS edfutb,
|
|
EDCNOR AS edcnor,
|
|
RTRIM(EDCONC) AS edconc,
|
|
EDBCDR AS edbcdr,
|
|
EDSMCH AS edsmch,
|
|
RTRIM(EDERTB) AS edertb,
|
|
EDTRST AS edtrst,
|
|
EDTRRT AS edtrrt,
|
|
RTRIM(EDFUT10) AS edfut10,
|
|
RTRIM(EDFUT11) AS edfut11,
|
|
RTRIM(EDFUT12) AS edfut12,
|
|
RTRIM(EDFUT13) AS edfut13,
|
|
EDFUT14 AS edfut14,
|
|
EDFUT15 AS edfut15,
|
|
EDFUT16 AS edfut16
|
|
FROM LGDAT.CJOBDR
|