Command-Line Handling of String Delimiters in Script Parsing
A few simple syntax rules govern the tbuild command, and the other Teradata PT commands, at the command prompt on the various supported platforms.
These examples suggest that single quotes should be avoided as string delimiters for command-line arguments on all platforms.
On All Platforms
tlogview -j DTAC_FLD1@offshore36-746 -w "TASKNAME=\"SELECT_20001\""
On Windows Systems
On UNIX systems, single quotes (') are stripped away so that quotes are not part of the string. But on Windows systems, the quote becomes part of the string. This means that if you run something like this at the Windows command prompt:
C:\>tlogview -l 'C:\Program Files\Teradata\client\<version>\Teradata Parallel Transporter\logs\testjob.out'
the filename is read as 'C:\Program.......testjob.out', including the quotes, which is not the right file name.
On UNIX Systems
tbuild -f test_job.twb -u "verb=\"Couldn't\""
the argument of the -u option passed to the tbuild program is the string verb= “Couldn’t”.