The following Control-M functions are supported when used in a %%SET statement:
- %%SUBSTR String StartPos Len
- %%$CALCDTE CCYYMMDD +|- [D/M/Y] nnn
- %%$YEARWK# CCYYMMDD
- %%CALCDATE YYMMDD +|- nnn (Control-M deprecated)
- %%$WALC Date +|-nnn CalendarName - see
%%$WCALC for details.
- %%$LENGTH char_string
- %%$GREG CCYYMMDD
- %%$JULIAN CCYYMMDD
- %%$WEEK# CCYYMMDD
- %%$WEEKDAY CCYYMMDD
See BMC's
Control-M for z/OS User Guide for details on the usage of these functions.