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
It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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