<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sas beginner in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/sas-beginner/m-p/49433#M13413</link>
    <description>The INFILE statement references a drive letter notation so it must be "mapped" somehow on the system where this application runs -- therfore it would not be appropriate to simply change the reference without adjusting the mapping, correct?&lt;BR /&gt;
&lt;BR /&gt;
Regarding notation, have a look at the SAS FORMAT statement, either defined for the DATA step or with a PROC step.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Fri, 26 Jun 2009 18:40:50 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2009-06-26T18:40:50Z</dc:date>
    <item>
      <title>sas beginner</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-beginner/m-p/49432#M13412</link>
      <description>I'm taking over an application from a programmer that got a new job.  I have limited sas experience.  I have searched the web and this forum and downloaded the "Base SAS 9.1.3 Procedures Guide", but so far I haven't answered my own question yet.  Still working that learning curve.&lt;BR /&gt;
&lt;BR /&gt;
The application that I'm taking over produces a large fixed format file and generates a set of sas commands to import the data file.  Both files are for the users, who use sas.  As the developer, I'm not given a copy of sas (where's Dilbert?).  Anyway, here is a sample of the sas file:&lt;BR /&gt;
&lt;BR /&gt;
  infile&lt;BR /&gt;
  'a:0000013401.dat'&lt;BR /&gt;
     lrecl=87;&lt;BR /&gt;
  input&lt;BR /&gt;
  @1  p_user_id  $9.&lt;BR /&gt;
  @11  p_user_type  $1.&lt;BR /&gt;
  @13  p_cycle  $6.&lt;BR /&gt;
  @20  p_error_code  $4.&lt;BR /&gt;
  @25  p_record_count  $3.&lt;BR /&gt;
  @29  rec_format  $3.&lt;BR /&gt;
  @33  acct_cd  $1.&lt;BR /&gt;
  @35  balance_amt   17.&lt;BR /&gt;
  @53  trans_cmptr   17.&lt;BR /&gt;
  @71  unassgn_amt   17.&lt;BR /&gt;
  ;&lt;BR /&gt;
  run;&lt;BR /&gt;
&lt;BR /&gt;
I have a couple, probably very basic, questions.&lt;BR /&gt;
&lt;BR /&gt;
The sas file identifies the input file as "a:...", but the users don't use floppy drives anymore.  Is it ok to change the a: to a relative reference  (".\0000013401.dat'")?&lt;BR /&gt;
&lt;BR /&gt;
The amount fields are 17 digits long.  This is the format on our corporate database, so I can't change that.  On particularly large amounts (those that use all 17 digits), sas converts the number to scientific notation (3.6E+17 or something similar).  Is there a way to get sas to support all 17 digits without kicking into scientific mode?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance,&lt;BR /&gt;
Darren</description>
      <pubDate>Fri, 26 Jun 2009 17:25:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-beginner/m-p/49432#M13412</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-06-26T17:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: sas beginner</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-beginner/m-p/49433#M13413</link>
      <description>The INFILE statement references a drive letter notation so it must be "mapped" somehow on the system where this application runs -- therfore it would not be appropriate to simply change the reference without adjusting the mapping, correct?&lt;BR /&gt;
&lt;BR /&gt;
Regarding notation, have a look at the SAS FORMAT statement, either defined for the DATA step or with a PROC step.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 26 Jun 2009 18:40:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-beginner/m-p/49433#M13413</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-06-26T18:40:50Z</dc:date>
    </item>
  </channel>
</rss>

