Hello DFSORT expert,

I'm looking for the way to reformat JFCB creation data x'yydddd' to
c'yyyy/mm/dd' by using DFSORT.
I have read DFSORT manuals and looked for it in Web, I still don't
have right answer.

JFCB creation date is 3 bytes hex filed in the format 'yydddd'.
the year yy is an offset from 1900.  i.e. year 2012 is 1900 + 112.
The 112 in hex is 70.
So January 10, 2012 in JFCB creation date become x'70000A'.
I want to reformat the JFCB creation date as C'2012/01/10' by DFSORT.
If 'yyyymm/dd' format is not possible, 'yyyy/ddd' is another possibility.

Your help would be highly appreciated.

Minoru Massaki  (M*M)

-- 

全先 実  -  Minoru Massaki  (M*M)
E-mail: [email protected]

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to