%CHAR of a date field with a format #640
Loading…
Reference in a new issue
No description provided.
Delete branch "rpg-9-ae-date-field-20261025"
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?
%CHAR of a date field with a format
%char(due: *usa)of a date field compiles to the same_QRNX_DT_CVTcall as%char(%date(): *usa), with the field itself as the source descriptor in theinternal
*ISOformat. The statement summary accepted a conversion only afterthe time call, and the static source of a conversion was declared as a
character field, so the four statements of
r5e-date-fieldfailed. Thesummary takes a conversion of a field, the static
*ISOsource of a conversionis a date field (
dcl-s due date inz(d'2026-10-18')), and the format tablegains
*EUR(format 5, separator.). The probe is the public reproduction.Gates