BookmarkSubscribeRSS Feed
ShelleySessoms
Community Manager

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.

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
1 REPLY 1
bdoug
Obsidian | Level 7

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.  

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 985 views
  • 0 likes
  • 2 in conversation