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 (July 2001, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 9 Jul 2001 11:39:20 -0400
Reply-To:   "Shilling, Brian [PRI]" <BShillin@PRIUS.JNJ.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Shilling, Brian [PRI]" <BShillin@PRIUS.JNJ.COM>
Subject:   Re: Unbalanced Quotes
Comments:   To: "gkirton@FILCS.COM" <gkirton@FILCS.COM>
Content-Type:   multipart/alternative;

I think you need to include the write= statement in the quotes, like this

lockingid=open('admin.locking(write=&a)','n');

Untested, so I hope it works!

Bri

> -----Original Message----- > From: Graeme Kirton [SMTP:gkirton@FILCS.COM] > Sent: Monday, July 09, 2001 11:31 AM > To: SAS-L@LISTSERV.UGA.EDU > Subject: Unbalanced Quotes > > Really annoying, error.............................. Can someone see???? > > Thanx. > > SAFC: > > > call symput('a','mypass'); /* Data Set Write Passwords */ > > > > Usage=trim(symget('SYSUSERID')); > > > > > if exist('admin.locking') = 0 then do; > > > lockingid=open('admin.locking'(write=&a),'n'); /*When I remove > the > (write=&a), it works*/ > > if lockingid ne 0 then do; > > rc=newvar(lockingid,'Usage','c',15); > > > rc=newvar(lockingid,'Dataset','c',15); > > > rc=newvar(lockingid,'Level','c',1); > > > if lockingid then lockingid=close(lockingid); > > end; > > > end; > __________________________________________________________________________ > __________________________________ > > Disclaimer > > This email may contain privileged/confidential information and/or > copyright > material. It is intended only for the use of the person(s) to whom it is > addressed and any unauthorised use may be unlawful. If you receive this > email > by mistake, please advise the sender immediately by using the reply > facility on > your email software and delete the material from your computer. > > Opinions, conclusions and other information in this email that do not > relate to > the official business of this organisation shall be understood as neither > given > nor endorsed by it. > > If this message forms part of a quotation, the quotation is an invitation > to > treat only. No contract subsists until Filtronic Plc (or its subsidiary > companies) accepts your order. Acceptance of your order is made subject > to our > standard Terms and Conditions. > > Website Address http://www.filtronic.com


[text/html]


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