SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 22312: What does "NOTE: Module MAIN is undefined in IML; cannot be RUN" mean?

DetailsAboutRate It

The RUN statement is not used to execute IML statements nor to terminate PROC IML. IML statements are executed immediately when submitted. To terminate PROC IML, submit the QUIT statement or the next desired PROC or DATA statement.

In PROC IML, the RUN statement executes a module. If a RUN statement is submitted without specifying the name of a module, the RUN statement attempts to run the module named MAIN. If you have defined a module without a name, or with a name of MAIN, then RUN; is a valid statement that will run the module. The NOTE is issued when RUN; is submitted in PROC IML and no module called MAIN has been defined, causing IML to attempt to execute a module that has not been defined.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/IML WorkshopAlln/a
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.