SPACE

Returns a character string that consists of the number of SBCS blanks that the argument specifies. The argument is an expression that results in an integer. The integer specifies the number of SBCS blanks for the result, and it must be between 0 and 32740. If expression is a constant, it must not be the constant 0.

Example:

The following statement returns a character string that consists of 5 blanks.

  SELECT SPACE(5)    
     FROM QSYS2.QSQPTABL