A date field read into a character field and a date passed to %DIFF keep their type #738
Loading…
Reference in a new issue
No description provided.
Delete branch "lr2-char-date-src"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A date field read into a character field and a date passed to %DIFF keep their type
c = d;of a date, time or timestamp field into a character field isc = %CHAR(d);(it failed to compile with RNF7416). A field that a%DIFFstatement names is a date, time or timestamp field when a statement assigns it a current built-in, even when its stored start value is not a date.lr2-db-date-ctl(the control, red test insrc/rpg_time_assign_test.zig).lr2-di-lit-noassign(dictionary capture).lr2-di-lit-noassign: the field named only by%DIFF(%DATE(): f: *DAYS)and a stored date start value isdate inz(d'2020-01-01')(it waschar(10), RNF0581).Gates
3d5c594cad77116a9a86