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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 14133 views
  • 0 likes
  • 3 in conversation