Hello. If you initialize a variable of type timestamp like this:
then the microseconds value will not be filled completely. The last 3 characters will be zeros: 2022-07-14-12.28.49.272000
However, if you find out the system time like this:
then the microseconds are filled in completely: 2022-07-14-12.28.50.302264.
Explain why so?
Code:
dcl-s ts1 timestamp inz(*sys);
However, if you find out the system time like this:
Code:
ts1 = %timestamp(*sys);
Explain why so?
Comment