<?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: Invalid File Error in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Invalid-File-Error/m-p/483109#M71696</link>
    <description>&lt;P&gt;Libname xport expects the name of the transport&amp;nbsp;&lt;EM&gt;file&lt;/EM&gt;, not of a directory where the transport file is stored.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Aug 2018 16:50:43 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-08-01T16:50:43Z</dc:date>
    <item>
      <title>Invalid File Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Invalid-File-Error/m-p/483101#M71693</link>
      <description>&lt;P&gt;I am working with data from the BRFSS and I am trying to get the formats file to run with the actual dataset.&amp;nbsp; I have downloaded the code and files from the BRFSS website, however when I try to use the code I am getting an error: Invalid File.&amp;nbsp; I will paste the code I am using below.&amp;nbsp; Does anyone know what to do about this error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;***********************************************************************************
* FILE NAME:     TRANSPRT.SAS                                                     *
* DESCRIPTION:   THIS PROGRAM CONVERTS A SAS TRANSPORT FILE LOCATED AT &amp;lt;TRANSPRT&amp;gt; *
*                LIBNAME, INTO A SAS DATABASE STORED AT &amp;lt;DATAOUT&amp;gt; LIBREF          *
* REFERENCES:                                                                     *
* INPUT       DATAIN           FILEREF OF TRANSPORT DATAFILE OF COMPLETES         *
* OUTPUT      DATAOUT.SASDATA  SAS DATABASE VERSION OF TRANSPORT DATA AS          *
*                              SPECIFIED IN &amp;lt;TRANSPRT&amp;gt; LIBNAME                    *
* UPDATED - 02/21/2007                                                            *
***********************************************************************************;
********************************
* Clear Output and Log Windows *
********************************;
DM OUTPUT 'clear' continue;
DM LOG    'clear' continue;
**********************************
* DEFINE SAS ENVIRONMENT OPTIONS *
**********************************;
OPTIONS PAGENO=1 NOFMTERR;
***************************************
* CLEAR EXISTING TITLES AND FOOTNOTES *
***************************************;
TITLE ;
FOOTNOTE ;
RUN ;
******************************************************
* INSTRUCTIONS:                                      *
* SPECIFY PATH OF WHERE TRANSPORT DATAFILE IS STORED *
* SPECIFY PATH OF WHERE SAS DATASET IS TO BE STORED  *
******************************************************;

LIBNAME TRANSPRT XPORT 'C:\Users\tuk44889\Desktop\BRFSS2010';
*****************************************************************************
* EXAMPLE:                                                                  *
*       LIBNAME TRANSPRT XPORT  'C:\BRFSS\2010\CDBRFS10.XPT'                *
* NOTE: MAKE SURE THE ASTERISK IS REMOVED BEFORE THE WORD LIBNAME AND       *
*       MAKE SURE THAT THE GREATER THAN AND LESS THAN SIGNS &amp;lt; &amp;gt; ARE REMOVED *
*       FROM THE FILENAME STATEMENT                                         *
*       THE QUOTATION MARKS MUST BE THERE FOR THE PROGRAM TO WORK           *
*****************************************************************************;

LIBNAME DATAOUT V7 'C:\Users\tuk44889\Desktop\BRFSS2010'  ;
*****************************************************************************
* EXAMPLE:                                                                  *
*          LIBNAME DATAOUT 'C:\'                                            *
*          A SAS DATABASE WILL BE STORED AT C:\SASDATA.SAS7BDAT             *
* NOTE: MAKE SURE THE ASTERISK IS REMOVED BEFORE THE WORD LIBNAME AND       *
*       MAKE SURE THAT THE GREATER THAN AND LESS THAN SIGNS &amp;lt; &amp;gt; ARE REMOVED *
*       FROM THE LIBNAME STATEMENT                                          *
*       THE QUOTATION MARKS MUST BE THERE FOR THE PROGRAM TO WORK           *
*****************************************************************************;

PROC COPY IN=TRANSPRT OUT=DATAOUT;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Aug 2018 16:34:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Invalid-File-Error/m-p/483101#M71693</guid>
      <dc:creator>spiperato</dc:creator>
      <dc:date>2018-08-01T16:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid File Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Invalid-File-Error/m-p/483109#M71696</link>
      <description>&lt;P&gt;Libname xport expects the name of the transport&amp;nbsp;&lt;EM&gt;file&lt;/EM&gt;, not of a directory where the transport file is stored.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 16:50:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Invalid-File-Error/m-p/483109#M71696</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-01T16:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid File Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Invalid-File-Error/m-p/484719#M71844</link>
      <description>&lt;P&gt;Thank you this worked!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 12:39:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Invalid-File-Error/m-p/484719#M71844</guid>
      <dc:creator>spiperato</dc:creator>
      <dc:date>2018-08-07T12:39:02Z</dc:date>
    </item>
  </channel>
</rss>

