another as400 jba date conversion routine
October 14, 2008 - 12:07pm
Here’s the other date conversion - It’s a JBA 7,0 numeric date to 8 character alpha in JIS format (YYYYMMDD) with no separators.
If you want separators in your result then simply expand the result field by 2 characters (to 10) and replace the “0” in the “*jis0” with what ever separator you prefer.
Eval F30_EDLDAT=(%char(%date(F1_DTLP40:*cymd):*jis0))
- Post Reply


Recent comments
21 min 37 sec ago
1 hour 54 min ago
3 days 1 hour ago
4 days 18 hours ago
6 days 19 hours ago
6 days 22 hours ago
1 week 12 hours ago
1 week 12 hours ago
2 weeks 4 days ago
2 weeks 4 days ago