BookmarkSubscribeRSS Feed
deleted_user
Not applicable
More as a curiousity, I wanted to check out the new CSV tagset (bundled along with CSVALL and CSVBYLINE). When I ran the Proc Template, I recieved the following error however:


880
881 define event stacked_cell;
882 start:
883 put $delimiter / if !cmp(COLSTART, "1");
884 put '"';
885 finish:
886 put '"';
887 end;
888
889 define event stacked_value;
890 start:
891 put ' ' /if
891! ^cmp(first_stacked_value, '1');
ERROR: Unknown symbol: 'first_stacked_value'

892 trigger put_value;
893 end;

Anyone else experience this? It was only the CSV tagset definition that bombed. The CSVALL and CSVBYLINE both were defined successfully.

I should add that I'm running SAS 9.1 on WinXP.
3 REPLIES 3
Chevell_sas
SAS Employee
Do you have any of the service packs installed?
deleted_user
Not applicable
Hmm... Not sure, but I don't believe so.

In the 'About SAS 9' window, it shows:

SAS 9.1 TS Level 1M3
Chevell_sas
SAS Employee
The Markup variable 'first_stacked_value' was not added until SAS 9.1.3 Service pack 2. You can upgrade to the
current service pack, or we can modify the tagset for your current version. You can get the most current service pack from the below link.

http://ftp.sas.com/techsup/download/hotfix/hotfix.html.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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