LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 2005, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 2 Dec 2005 11:29:48 -0600
Reply-To:     DHjelle@OTPCO.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Dean Hjelle <DHjelle@OTPCO.COM>
Subject:      "X" Command Question
Content-Type: text/plain; charset="iso-8859-1"

Thank you. I decided to use the double quote inside single quote option and it works great. I don't use any quotes and the copy works. Options noxwait xmin; X Copy c:\sas\links\approp\data\form\req.sas7bdat U:\DON\data\form\req.sas7bdat; HTH Don -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] Sent: Friday, December 02, 2005 10:23 AM To: SAS-L@LISTSERV.UGA.EDU Subject: Re: 'X' Command Question Your use of double quotes is incorrect. Either of the following will work: A) Use double quotes inside single quotes: x 'copy "s:\sasfiles\intervaldata\meterdata\attr-input-sas.xls" "d:\intervaldata\data\attr-input-sas.xls"'; B) Double up the double quotes that are internal to the quoted string: x "copy ""s:\sasfiles\intervaldata\meterdata\attr-input-sas.xls"" ""d:\intervaldata\data\attr-input-sas.xls"""; HTW. s/KAM

Dean Hjelle Phone: 218-739-8541 Regulatory Analyst Fax: 218-739-8973 Regulatory Services E-mail: dhjelle@otpco.com

<http://www.otpco.com/>

Otter Tail Power Company 215 S. Cascade Street PO Box 496 Fergus Falls, MN 56538-0496 http://www.otpco.com/


Back to: Top of message | Previous page | Main SAS-L page