Joined: 18 Jul 2007 Posts: 2150 Location: At my coffee table
Assuming the TT is the normlly expected DD,
SyncSort for z/OS 1.2 Programmer’s Guide wrote:
This form of the &DATE subparameter generates the current system date and controls the formatting of the date. You can specify the position of the year, month, and date, specify a separator character, and choose between 2-digit and 4-digit year representation.
The positions m1 through m4 represent masks used to format the date. To specify the position of the month, day, and year, replace the m1, m2, and m3 positions, in any order, with M for the month (01-12), D for the day (01-31), and either Y or 4 for the year (where Y is a 2-digit year and 4 is a 4-digit year). Replace the m4 position with a separator character.
For example, to print the date with the form yy-mm-dd, specify &DATE=(YMD-). For December 31, 1999, the date would appear as “99-12-31”.
The field for this form of &DATE requires 8 bytes for a 2-digit year representation and 10 bytes for a 4-digit year. The M, D, and Y or 4 may only appear once in the mask. All four positions must be specified.