Passing Special Characters in the AWRUN Arguments

Document ID : KB000089421
Last Modified Date : 14/04/2018
Show Technical Document Details
Passing Special Characters in the AWRUN Arguments

Using special characters in an argument for any job ran from Applications Manager command line API, awrun or sorun, in UNIX causes the job to fail.


The special characters in the parameter are not being interpreted correctly due to the special character not being evaluated correctly. For example, if you include the '#' character in a parameter in UNIX, the pound sign is interpreted as a space or as a comment line if it is at the beginning of the string and not as the '#' character. 


To solve this problem, enclose the entire parameter value in 'single' quotes and the parameter will  be evaluated correctly.  For more information about awrun, please see the Development Guide, Section 15.2 awrun - The Command Line API for Requested Tasks.