DATA Step, Macro, Functions and more

nospool error

Reply
Contributor
Posts: 33

nospool error


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

Super User
Posts: 6,930

Re: nospool error

I guess the problem lies in the macro variable &scen

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Contributor
Posts: 33

Re: nospool error

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

Super User
Posts: 6,930

Re: nospool error

Which respective interface did you use in both environments?

(Enterprise Guide, Display Manager, batch mode)

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Super User
Posts: 10,483

Re: nospool error

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

Ask a Question
Discussion stats
  • 4 replies
  • 2690 views
  • 0 likes
  • 3 in conversation