BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
smokinjack1559
Fluorite | Level 6

When I do the practices I get this error:

 

1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
73 data work.NationalPreserves;
74 set pg3.np_acres;
NOTE: Data file PG3.NP_ACRES.DATA is in a format that is native to another host, or the file encoding
does not match the session encoding. Cross Environment Data Access will be used, which might
require additional CPU resources and might reduce performance.
75
76 Exp='/(N PRES\s|N PRESERVE\s|NPRES\s|NPRE\s)/o';
77 Pid=prxparse(Exp);
78 Position=prxmatch(Pid,ParkName);
79 if Position;
80 ParkName=prxchange('s/N PRES\s|N PRESERVE\s|NPRES\s/NPRE /', 1, ParkName);
81 run;

ERROR: Some character data was lost during transcoding in the dataset PG3.NP_ACRES. Either the data
contains characters that are not representable in the new encoding or truncation occurred
during transcoding.
NOTE: The DATA step has been abnormally terminated.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 73 observations read from the data set PG3.NP_ACRES.
WARNING: The data set WORK.NATIONALPRESERVES may be incomplete. When this step was stopped there
were 4 observations and 8 variables.

1 ACCEPTED SOLUTION
5 REPLIES 5
MarkusWeick
Barite | Level 11

Hi @smokinjack1559,

in which of the practises did you get this error?

Best

Markus

Please help to keep the community friendly.
Like posts you agree with or like. Mark helpful answers as “accepted solutions”. Generally have a look at https://communities.sas.com/t5/Getting-Started/tkb-p/community_articles
smokinjack1559
Fluorite | Level 6

All the ones I tried so far.

The latest is Level 1 Practice: Using the PRXMATCH and PRXCHANGE Functions

I am using virtual lab.

smokinjack1559
Fluorite | Level 6

Today, I can not launch virtual lab. Citrix just spins. Cyber Monday after a four day weekend?

 

I set up SAS studio. I ran the program and did not get the same errors as in virtual lab.

MarkusWeick
Barite | Level 11

That's what I would have tried too. I used SAS ondemand fpr academics for the whole practise part.

Please help to keep the community friendly.
Like posts you agree with or like. Mark helpful answers as “accepted solutions”. Generally have a look at https://communities.sas.com/t5/Getting-Started/tkb-p/community_articles

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Autotuning Deep Learning Models Using SAS

Follow along as SAS’ Robert Blanchard explains three aspects of autotuning in a deep learning context: globalized search, localized search and an in parallel method using SAS.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 3754 views
  • 3 likes
  • 3 in conversation