BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sathya66
Barite | Level 11

Hi,

I was trying to open one of my datasets after the migration(We copied the datasets to new location) and I was prompted to enter an ‘Alter Password’ . I tried and failed with my current sas password, and now when I run the code again this appears in the log.

please suggest.

Alter.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
sathya66
Barite | Level 11

Hi,

Now issue is resolved.

 

Deleted the data sets and recreated them.

 

Thanks,

SS

View solution in original post

4 REPLIES 4
ChrisNZ
Tourmaline | Level 20

Give us more details. It works for me.

options dlcreatedir; 
libname SUB "%sysfunc(pathname(WORK))\sub";

data T(alter='A'); X=1; run;

proc sort data=WORK.T(alter='A'); by X; run;

proc copy in=WORK out=SUB; select T; run;

proc sort data=SUB.T(alter='A'); by descending X; run;

This code runs fine as is, and fails when the passwords are erroneous.

 

 

sathya66
Barite | Level 11

Below code doesn't work for me .It is giving an error at proc copy statement

ERROR: File SUB.T.DATA does not exist.
ERROR: File SUB.T.DATA has not been saved because copy could not be completed.

 

 

We moved  the data sets manually to new location (cut and paste).when I try to duplicate that table  ,it is giving below error. 

sathya66
Barite | Level 11

The file path for the folder before was

 

libname ss "/data/datasets/Departments/ss";

 

 

and post migration it is now

 

libname ss "/data/datasets/Departments/EG/SS/All_Files";

 

 

Initially when I ran the code concerning datasets in the location there was a pop-up prompt asking for the alter data password. Now when I open it and try to run there is no pop-up but in the log it has the error shown in the original post.

 

Thanks,

ss

sathya66
Barite | Level 11

Hi,

Now issue is resolved.

 

Deleted the data sets and recreated them.

 

Thanks,

SS

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 4 replies
  • 5475 views
  • 0 likes
  • 2 in conversation