You are welcome
When I read the question I am a little confused but it seems you know what you want for some specific use.
Just to be sure. But a real timestamp on mainframe using DB2 would be CHAR (26) so it must be because you don't need this timestamp for DB2 but some other place where CHAR (17) will do.
If you don't like the one command style like TRANSLATE you can of course use normal SUBSTR and concatenation.
I do like the many functions build into PL/I - it is a really great language and anything is possible.
Regards Peter - "live is too short for languages starting with C"
PeterOL