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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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