Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这行代码:
TDY_DATE/HMDYYs = HGETC(8,'HMDYYs');
它用于根据今天的日期生成报告。
如何修改这一行,以便可以硬编码除今天以外的日期?
谢谢。
只需使用 FPRINT 将硬编码日期分配给您的变量
-SET TDY_DATE = FPRINT(HARDCODED_DATE, 'HMDYYs', 'A8');