z/OS TSO/E REXX Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


COPIES

z/OS TSO/E REXX Reference
SA32-0972-00

Read syntax diagramSkip visual syntax diagram
>>-COPIES(string,n)--------------------------------------------><

returns n concatenated copies of string. The n must be a positive whole number or zero.

Here are some examples:
COPIES('abc',3)    ->    'abcabcabc'
COPIES('abc',0)    ->    ''

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014