On 06-Sep-2015 01:49 -0600, gio.cot wrote:
I have problem with $-£-§ in running QSH commands; example if i run

QSH CMD('rm -r NAS_TMP/$$X')

I receive :

rm: 001-2136 in relief error during the elimination of the connection
to the object NAS_TMP/354X. This path or address doesn't exist.


After posting my prior message, I realized that the dollar-sign was being understood to be a dollar-sign. Therefore the special-meaning of the $$ was the origin for the odd replacement characters in the error message text; i.e. the effect was not due to character translation, but the Process Identifier (PID) being inserted in place of the $$. Had the PID been at least a couple digits more\longer, I probably would have recognized that earlier.

Regardless, just as I had noted, the resolution specifically for the typed dollar-sign character, is to escape those characters, to insist that the interpreter treat those consecutive dollar-signs as ordinary text\character instead of treating the dollar-sign as a character with special meaning [e.g. incorrectly treated as the PID, or as a variable-name]. The given request can produce the intended effect, by issuing instead, the following modified request:

QSH CMD('rm -r NAS_TMP/\$\$X')

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.