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: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 5661 views
  • 0 likes
  • 2 in conversation