Bytes of a date field read at an offset, and *JOB and *SYS on a date read by bytes #741
Loading…
Reference in a new issue
No description provided.
Delete branch "lr2e"
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?
y = %SUBST(f: 6: 2)of a stored date, and%SUBST(%CHAR(f): 7: 4)of a current date, failed with "no type" at the byte offset. A read of the target's width at byte N of a character field that no copy names is%SUBST(f: N+1: W); a date, time or timestamp field takes%CHAR(f)first. A date started by*JOBor*SYSand read by bytes keeps its start value (the compiler's marker byte isX'F0'there,X'40'when the date is only copied).lr2-fb-sub-mid,lr2-fb-sub-usa,lr2-fb-sub-eur,lr2-fb-char-sub-usa,lr2-fb-sub-job,lr2-fb-sub-sys(dictionary captures; red tests insrc/rpg_date_bytes_test.zig).lr2-fb-char-sub,lr2-fb-char-sub-cur,lr2-fb-char-var-sub,lr2-fb-sub-cur,lr2-fb-sub-jis,lr2-fb-sub-var(controls that keep emitting).%SUBST(%CHAR(f: *USA): ...)of a variable date (_QRNX_DT_CVTin the statement) and%SUBST(%CHAR(f): 1)without a length.