The CHAR() function has several values for the date format - separator is still controlled by a job setting or as Birgitta said, an option in STRSQL. Other interfaces have their own methods - embedded SQL. JDBC, etc.
Here's a bit from the documentation - worth getting the SQL Reference on your favorites list!
Datetime to Character
This mailing list archive is Copyright 1997-2013 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact