On Fri, 5 Jan 2024 03:06:10 -0600, Willy Jensen wrote:

>or requote as a function, I think it looks nicer
>
> cc=Listdsi(requote(ds))                                               
> . .                                                                   
>Unquote: return strip(space(translate(arg(1)," ","'"))) 
>
Isn't that a verbose equivalent of:
     return strip( arg( 1 ), 'Both', '''' )
???
               
>Requote: if arg(1)='' then return '';else return "'"Unquote(arg(1))"'" 
>
If arg( 1 ) is a string of blanks, do you want to pass listds()
an empty string?

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to