Thanks.
Koen Daniels
V3R7 or later, you can use INZ(*SYS) or INZ(*JOB) to directly initialize
a date field. You can also use the TIME opcode with a date field in the
result to get the current date dynamically.
Earlier than V3R7, use the TIME opcode and MOVEL with *JOBRUN as the
date format:
D date S D
D DS
D timeres 12S 0
D timedate 6S 0 overlay(timeres:7)
C time timeres
C *JOBRUN movel timedate date
Barbara Morris