Usage Note 1075: How to scan more than 20 records to determine variable attributes in EFI
In Versions 7 and 8 of the SAS System, by default the Import Wizard, PROC IMPORT and the External File Interface (EFI) scan 20 records to determine variable attributes when reading delimited text files.
Changing the default setting can only be done for EFI in Version 7, Release 8 and Release 8.1. Beginning in Release 8.2 changing the default setting is applicable to the Import Wizard, PROC IMPORT and EFI.
Follow the steps below to change the default behavior:
1) Type regedit on the command line (white box with a check mark)
2) When the Registry Editor window opens, double click on the PRODUCTS icon
3) Double click on the BASE icon
4) Double click on the EFI icon
5) In the window on the right the Contents of EFI will be populated with EFI options
6) Double click on GuessingRows
7) When the new window opens with the old value of 20, delete it, enter the new value, and click on OK.
8) Close the Registry Editor window
9) Invoke the Import Wizard, PROC IMPORT or EFI to use the new GuessingRows value
The new value entered for GuessingRows will remain until you change it.
Beginning in SAS 9.1 there is a new statement, GUESSINGROWS=, that can be specified with PROC IMPORT. By specifying the GUESSINGROWS= statement with PROC IMPORT, you do not have to change the GuessingRows value in the SAS Registry. Also beginning in SAS 9.1 you can specify the Number of Rows to Guess when using the Import Wizard in the SAS
Import: Delimited File Options Window or when using EFI in the Options for Import Window.
source:http://support.sas.com/kb/1/075.html
Welcome to StudySAS, your ultimate guide to clinical data management using SAS. We cover essential topics like SDTM, CDISC standards, and Define.XML, alongside advanced PROC SQL and SAS Macros techniques. Whether you're enhancing your programming efficiency or ensuring compliance with industry standards, StudySAS offers practical tips and insights to elevate your clinical research expertise. Join us and stay ahead in the evolving world of clinical data.
Discover More Tips and Techniques on This Blog
Subscribe to:
Posts (Atom)
Disclosure:
In the spirit of transparency and innovation, I want to share that some of the content on this blog is generated with the assistance of ChatGPT, an AI language model developed by OpenAI. While I use this tool to help brainstorm ideas and draft content, every post is carefully reviewed, edited, and personalized by me to ensure it aligns with my voice, values, and the needs of my readers.
My goal is to provide you with accurate, valuable, and engaging content, and I believe that using AI as a creative aid helps achieve that. If you have any questions or feedback about this approach, feel free to reach out. Your trust and satisfaction are my top priorities.