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

This one works. The set comes from CASLIB, the output goes to work. 

 

options casdatalimit=all;
data oks;
set mkt.TY_ALL_CH;
if prxmatch("m/venta/oi", report_orig);
run;

This does NOT work. Both are caslibs. 

data public.oks;
set mkt.TY_ALL_CH;
if prxmatch("m/venta/oi", report_orig);
run;

Giving the following error note:

NOTE: Argument 1 to function PRXMATCH('m/venta/oi','TY_2_OP_FIN_'[12 of 41 characters shown]) at line 86 column 4 is invalid.
1 ACCEPTED SOLUTION

Accepted Solutions
yabwon
Onyx | Level 15

Cas 

prxmatch

does not support "o" operator. 

 

[EDIT:] Link to documentation: https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proccas/p0c99caseuzbrrn1j2rxspg6719x.htm

 

Bart

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



View solution in original post

2 REPLIES 2
yabwon
Onyx | Level 15

Cas 

prxmatch

does not support "o" operator. 

 

[EDIT:] Link to documentation: https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proccas/p0c99caseuzbrrn1j2rxspg6719x.htm

 

Bart

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



acordes
Rhodochrosite | Level 12

Grande! Gracias

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 2 replies
  • 697 views
  • 1 like
  • 2 in conversation