BookmarkSubscribeRSS Feed
Hari
Calcite | Level 5
Hi,

Presently we are using EG 4.1 and I see I that even though we dont have SAS/Access we can read excel files using menu options. The resulting code it generates is a datastep code which probably references to a temporary text file. 2 points:-

a) Im not sure of the usability of this code for future data reads as the infile reference it creates would not be useful even if am reading the same excel file again through code.

b) I see that writing my own Proc Import code doesnt work as we dont have SAS/Access. Why is SAS allowing reading of excel files through menu options and not through code when we dont have SAS/Access. Shouldnt it allow Proc import without SAS/Access?

Regards,
HP
India
1 REPLY 1
ChrisHemedinger
Community Manager
HP,

In this case, EG reads the Excel file for you and creates temporary text file that can be read via DATA step and INFILE. PROC IMPORT, when reading text files, does much the same thing.

This way you can use your Excel files via EG without needing SAS/ACCESS to PC File Formats. PROC IMPORT, when reading Excel files directly, requires that product.

Does that answer the question?

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1095 views
  • 0 likes
  • 2 in conversation