John McKown at IBM Mainframe Discussion List <[email protected]> wrote on 09/22/2010 11:12:59 AM: > I thought DT1,EDIT='TTTT/TT/TT' would get yyyy/mm/dd from a > PL4'cydddF' packed decimal date.
p,4,DT1,EDIT=(TTTT/TT/TT) would give a C'yyyy/mm/dd' date as output for an SMF date of X'0cyydddF' as input. But the input here is X'yydddF', not X'0cyydddF', so that's a Y2U date, not a DT1 date. The 0c is a special indicator used for SMF dates (00=19, 01=20, etc). Frank Yaeger - DFSORT Development Team (IBM) - [email protected] Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration => DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

