In T-SQL there is a method, REPLICATE(char,N), which will make a string with N values of a certain character. This is very helpful when querying into JDE.
Does anyone know if there is a DB2 equivalent to this?
I believe REPEAT will give you what you are looking for.
First example from the page referenced above:
Example 1: Repeat 'abc' two times to create 'abcabc'. SELECT REPEAT('abc', 2) FROM SYSIBM.SYSDUMMY1;