BookmarkSubscribeRSS Feed
Sunny_Sun
Calcite | Level 5


Hi all,

I did a very simple step like the following:

Proc contents data=result.a_&scen. out=temp(keep=name) noprint; run;

But I get the following error in Unix system:

22: LINE and COLUMN cannot be determined.

NOTE 242-205: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and COLUMN where the error has occurred.

ERROR 22-7: Invalid option name (.

Can you please let me know how to resolve it?

Many thanks,

Sunny

4 REPLIES 4
Sunny_Sun
Calcite | Level 5

Thanks for your help. However, I do not have any issue when I ran this in PC environment, it only happens in Unix system.

ballardw
Super User

Try running the code with option mprint; to see what is generated by your macro variable.

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