BookmarkSubscribeRSS Feed
SiniJ
Calcite | Level 5

I get errosrs: Libref PG is not assigned ad warning:

WARNING: STUDENTS, DO NOT EXECUTE THIS PROGRAM! INSTEAD,
EXIT AND EXECUTE THE CRE8DATA.SAS PROGRAM TO SETUP
YOUR COURSE DATA ENVIRONMENT.

 

What does this mean and where can I find cre8data.sas program if I'm supposed to use that?

2 REPLIES 2
JOL
SAS Employee JOL
SAS Employee

To use the SAS Programming 1 course data on a personal computer after class:

 

1)  Download the data to your computer. Make note of where you put the course data folder.  For example suppose you use "C:\temp", then you must update this path in the CRE8DATA.SAS program.

 

2) Open the CRE8DATA.SAS program, which can be found in the course data folder:

JOL_1-1686668562006.png

 

3) Modify the path in the CRE8DATA.SAS program, example:

JOL_3-1686668683014.png

 

4)  Run the CRE8DATA.SAS program, this will create the tables needed to practice

JOL
SAS Employee JOL
SAS Employee

Continue previous post:

After CRE8DATA.SAS is successfully run, this will create a LIBNAME.SAS program in the course data folder.

Open and run LIBNAME.SAS to set up the needed PG1 Library

Note: if using SAS Enterprise Guide you must refresh the Libraries folder

JOL_1-1686669428964.png

 

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

LIBNAME 101

Follow along as SAS technical trainer Dominique Weatherspoon expertly answers all your questions about SAS Libraries.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1655 views
  • 0 likes
  • 2 in conversation