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 (May 2007, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 11 May 2007 10:59:27 -0400
Reply-To:   "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Organization:   Internet News Service
Subject:   Re: put @ 0
Comments:   To: sas-l@uga.edu

Hjermstad wrote: > I am attempting to write out lines of code from a SAS dataset so.... > > data _null_ > set data1; > file 'yada yada'; > put @ 1 bla bla bla > @ 10 yada yada; > run; > > I am working on mainframe and I need to have the first thing be put at > position 0, not position 1, but SAS won't allow that. Is there a way > around this?

Did you look at your output ? @1 is the first position in a line.

In some cases the format of blah can cause the PUT statement to write leading spaces.

Tidbit: almost all aspects positioning within the SAS environment is 1-based or defaults to 1-based.

-- Richard A. DeVenezia http://www.devenezia.com/


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