We wanted to transfer a DSName containing a $ (or #), but got some strange results. After looking into the manual and finding no hint about that, we finally assumed that they have to be escaped by a \, an then it really worked.
Especially for us z/OS Dinos it would be great if Dovetail would add a little hint about that to the user's manual.
Escaping for national characters in DSName
Re: Escaping for national characters in DSName
I think that the problem that you are seeing with using characters like "$" or "#" is that they are getting interpreted by the z/OS Unix shell, since you would typically invoke cozsftp using a shell.
Your suggestion about documenting how to quote/escape things in a shell script is a good idea.
Your suggestion about documenting how to quote/escape things in a shell script is a good idea.
Re: Escaping for national characters in DSName
We are calling cozsftp via COZBATCH (invoked by a TSO CALL from the load library). But I assume it opens a shell as well and there the substitution is done.
Re: Escaping for national characters in DSName
That is correct - COZBATCH by default runs the default logon shell specified by your userid's OMVS segment. Typically /bin/sh.
Since you are an enterprise support customer, please open a support ticket If you are still having issues with quoting and post your input and job output.
Since you are an enterprise support customer, please open a support ticket If you are still having issues with quoting and post your input and job output.