BookmarkSubscribeRSS Feed
seifu1
Calcite | Level 5

I followed all the steps below(1-11) and uploaded setupBaseCert_ods.sas under navigation panal, under server file folder file/home... cert... input ... eg input04.sas7bdat. But unable to access it by typing in working environment: libname input04 '/home/u59611791/cert/input/input04.sas7bdat'; 

after excusion log window says: 

ERROR: Library INPUT04 is not in a valid format for access method RANDOM.
ERROR: Error in the LIBNAME statement.
 
So kindly give me solution to create libname statement or libref. I am using SAS OnDemand for Academics 

 

Using SAS OnDemand for Academics
1. Download this zip file.
2. Open the zip file and extract it to any location on your computer. The unzip process
creates a folder named BaseCert that includes one SAS
program: setupBaseCert_oda.sas.
3. Sign in to your SAS OnDemand for Academics Dashboard and start SAS Studio.
4. At the top of the Server Files and Folders panel, click New and select Folder.
5. In the Name box, type cert in lowercase exactly as shown. Click Save.
6. If necessary, expand Files(Home) and verify that the cert folder was created.
7. Select the cert folder and click Upload .
8. In the Upload Files window, click Choose Files. Browse to the BaseCert folder on your
computer, select setupBaseCert_oda.sas, and click Open. Click Upload. The program is
added to the cert folder on the server.
9. If necessary, expand the cert folder, and then double-click setupBaseCert_oda.sas to
open the program in SAS Studio.
10. Click Run or press F3 to run the program. This program creates all the SAS files and
data you need for this course. After the program runs, a list of SAS tables is displayed in
the Results tab.
11. In the Server Files and Folders panel, you should have 4 subfolders in
the cert folder: errors, input, output and programs. The output and programs folders
will be used to save programs and results during the practice exam

1 REPLY 1
tom_grant
SAS Super FREQ

Hello,

Are you trying to use the dataset input04.sas7bdat?  To make it available to SAS programs, you would need to a library to the folder that contains this data:

 

libname input '/home/u59611791/cert/input';

 

Then you could use in a SAS program:

 

Data mydata;

set input.input04;

...

run;

 

input would be the libref assigned to the folder '/home/u59611791/cert/input'

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 563 views
  • 0 likes
  • 2 in conversation