Architecting, installing and maintaining your SAS environment

Using a hyphen with command-line options in the SAS Deployment Wizard

Reply
Community Manager
Posts: 348

Using a hyphen with command-line options in the SAS Deployment Wizard

When you run the SAS Deployment Wizard, you must use a hyphen to separate the values of command-line options. Many users copy and paste options from published Adobe Acrobat, Microsoft Word, or Microsoft Outlook files. This often makes the hyphen appear to be correct, but it is not. To learn more, see SAS Usage Note 37418.

Occasional Contributor
Posts: 14

Re: Using a hyphen with command-line options in the SAS Deployment Wizard

Yes, the hyphen versus dash issue!

 

When copying and pasting anything from an Office product one must be very careful as a programmer or system admin.  If the text you are copying and pasting has any of these then I'd recommend DON'T DO IT. 

 

quotes (single or double), hyphens, dashes         There are probably others.

 

Office apps automatically change the ASCII character used for these and will cause problems in your code or as command line options as in this example.

 

Be very, very careful.  

Ask a Question
Discussion stats
  • 1 reply
  • 421 views
  • 0 likes
  • 2 in conversation